A fully featured API wrapper for Pushover.
Project description
Chump is an Apache2 Licensed, fully featured API wrapper for Pushover:
>>> from chump import Application
>>> app = Application('vmXXhu6J04RCQPaAIFUR6JOq6jllP1')
>>> app.is_authenticated
True
>>> user = app.get_user('KAGAw2ZMxDJVhW2HAUiSZEamwGebNa')
>>> user.is_authenticated, user.devices
(True, set([u'iPhone']))
>>> message = user.send_message("What's up, dog?")
>>> message.is_sent, message.id, str(message.sent_at)
(True, u'7LjjD6bK8hgqdK6aJzZUblOPPH9cVpjZ', '2005-10-05 07:50:40+00:00')
Installation
Install chump just like everything else:
$ pip install chump
Documentation
Full documentation is available at ReadTheDocs.
History
1.4.0 (05/31/2014)
Add new Pushover priority: LOWEST.
Add Application.{limit,remaining,reset} to track message allotment.
Fix title and message length validation.
1.3.2 (05/16/2014)
Fix dependency issues when installing.
1.3.1 (09/30/2013)
Updated authentication checks for new API responses.
1.3.0 (09/01/2013)
Added Python 2.6 support.
1.2.1 (09/01/2013)
Bugfixes.
1.2.0 (08/30/2013)
Renamed classes.
1.1.0 (08/30/2013)
Added Python 3 support.
1.0.0 (08/30/2013)
API overhaul and “completion”.
0.1.0 (08/28/2013)
Initial release.