aboutsummaryrefslogtreecommitdiffstats
path: root/pushover.py
AgeCommit message (Collapse)Author
2013-07-22Use true timestamp to avoid "Invalid timestamp"Crupuk
With the original version i got : python /usr/lib/python2.6/site-packages/pushover.py --token "NU2LC5g2G9jgVR9eHVLYAUmkFuPeky" --client "FWhJFb5wgV35bmzmaxeV976K1WqaFE" "Hello" Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pushover.py", line 227, in <module> url_title=args.url_title, timestamp=True) File "/usr/lib/python2.6/site-packages/pushover.py", line 207, in send_message return MessageRequest(payload) File "/usr/lib/python2.6/site-packages/pushover.py", line 104, in __init__ Request.__init__(self, "post", MESSAGE_URL, payload) File "/usr/lib/python2.6/site-packages/pushover.py", line 86, in __init__ raise RequestError(self.answer["errors"]) __main__.RequestError: ==> timestamp is invalid By casting time.time() the error disappears
2013-04-16Restructure the documentationThibaut Horel
2013-04-13Add some documentationThibaut Horel
2013-04-12Make the library callable as a script for basic message sendingThibaut Horel
2013-04-12Add an __all__ variable to limit the exported methodsThibaut Horel
2013-04-11Initial commitThibaut Horel