Skip to main content

A fully featured API wrapper for Pushover.

Project description

https://badge.fury.io/py/chump.png

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.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.

Project details


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.3.1.tar.gz (7.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page