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.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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
chump-1.2.1.tar.gz
(7.6 kB
view hashes)