aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-12-04Added support for new Glances APIDave Chevell
2016-03-25Merge pull request #15 from drachenminister/patch-1Thibaut Horel
Enable HTML Message Support
2016-03-25Update documentation in send_message()drachenminister
Update documentation to reflect addition of the 'html' parameter
2016-03-25Enable HTML Message Supportdrachenminister
Enable HTML Message Support as described in http://updates.pushover.net/post/117525190347/html-message-support
2016-02-12Merge pull request #14 from philipbl/masterThibaut Horel
Add ability to specify device
2016-02-12Add ability to specify device through clientPhilip Lundrigan
Previously, this could only be done through the config.
2014-10-30Fix inconsistency in the docThibaut Horel
2014-10-26Update changelogThibaut Horel
2014-10-26Merge pull request #12 from filipl/poll_fixThibaut Horel
Fix consistency in MessageRequest.poll
2014-10-26Fix consistency in MessageRequest.pollFilip Lundborg
The help, example and actual code had different opinions on how the function should behave. This commit make them agree. poll() will return the base Request object until the receipt has expired, been acknowledged or called_back upon. Once one of those three things has occurred it returns None. The example now has expire=120 and retry=60 since without those arguments it is unable to send a message with priority=2. The expired_at does not exist, it is called expires_at in the Pushover API. This is fixed as well. The values of expires_at, acknowledged_at and called_back_at can be found as attributes in the MessageRequest object like before.
2014-08-16Update MANIFEST.inv0.2Thibaut Horel
2014-08-16Add AUTHORS.rst update setup.pyThibaut Horel
2014-08-16Update ChangelogThibaut Horel
2014-08-16Command line utility: add epilog and versionThibaut Horel
2014-08-16Add copyright noticeThibaut Horel
2014-08-16Better helpThibaut Horel
2014-08-16Fix bug: incorrect reading of configuration fileThibaut Horel
2014-08-16Fix conflicting argument on the command lineThibaut Horel
2014-08-16Update the documentationThibaut Horel
2014-08-16Add some parameters to the command line utilityThibaut Horel
2014-08-16Better handling of the parametersThibaut Horel
2014-08-16PEP8Thibaut Horel
2014-07-29Add support for python3Thibaut Horel
2014-07-28Specify minimum version number for requests dependencyThibaut Horel
2014-07-28Merge branch 'master' of https://github.com/Crupuk/python-pushoverThibaut Horel
Conflicts: pushover.py use `value is True` instead of `value == True`
2014-07-28Fix #3 add console script entry pointThibaut Horel
2014-07-28Fix #6 using setuptools rather than distutils, time to use modern packagingThibaut Horel
2014-07-28Fix #2 proper dependencies resolutionThibaut Horel
2014-07-25Fix #4 typo in the documentationThibaut Horel
2014-07-25Merge pull request #5 from sbirch/patch-1Thibaut Horel
Convenience function to create a client
2014-07-23Addressed changesSam Birch
2014-07-23Merge pull request #8 from sbirch/masterThibaut Horel
Fix string representation of Request objects
2014-07-22Should stringify before return as well...Sam Birch
(self.answer is a dict)
2014-07-22init() in get_client()Sam Birch
I think it makes sense to init() in here too, and allow the user to keep the api_tokens in the config file.
2014-07-22print -> returnSam Birch
I think this is supposed to be a return rather than a print. Print returns none and string serialization fails.
2014-07-22Clarified some of the termsSam Birch
2014-07-22Convenience function to create a clientSam Birch
Loads a config file at and creates a client according to various options. Handy IMO so you don't have to constantly look up your user key etc. Has some precedent in a similar system used by boto for AWS credentials (http://boto.readthedocs.org/en/latest/boto_config_tut.html)
2013-08-26Update condition for timestampCrupuk
We need to test boolean only : >>> key="timestamp" >>> value="123456" >>> >>> if key == "timestamp" and value: ... print "Value <> True but, still true" ... else: ... print "value <> True and false" ... Value <> True but, still true
2013-07-22Merge pull request #1 from Crupuk/patch-1Thibaut Horel
Use true timestamp to avoid "Invalid timestamp"
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-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-17Add .gitignoreThibaut Horel
2013-04-17Add MANIFEST.in filev0.1Thibaut Horel
2013-04-16Adding some more meta-informationThibaut Horel
2013-04-16Restructure the documentationThibaut Horel
2013-04-16Use flask-sphinx-theme for 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