https://github.com/karanlyons/chump
The Best API Wrapper for Pushover.
https://github.com/karanlyons/chump
api-client pushover python
Last synced: 3 months ago
JSON representation
The Best API Wrapper for Pushover.
- Host: GitHub
- URL: https://github.com/karanlyons/chump
- Owner: karanlyons
- License: other
- Created: 2013-08-28T09:39:32.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2018-12-03T21:03:53.000Z (over 7 years ago)
- Last Synced: 2025-11-27T17:38:40.708Z (7 months ago)
- Topics: api-client, pushover, python
- Language: Python
- Homepage: https://chump.readthedocs.io
- Size: 134 KB
- Stars: 76
- Watchers: 7
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- License: LICENSE
Awesome Lists containing this project
README
#####
Chump
#####
.. image:: https://img.shields.io/pypi/v/chump.svg
:target: https://pypi.org/project/chump
:alt: PyPI Version
.. image:: https://img.shields.io/pypi/l/chump.svg
:target: https://pypi.org/project/chump
:alt: License
.. image:: https://img.shields.io/pypi/pyversions/chump.svg
:target: https://pypi.org/project/chump
:alt: Python Compatibility
.. image:: https://img.shields.io/badge/docs-latest-blue.svg
:target: https://chump.readthedocs.io
:alt: Documentation
Chump is a fully featured API wrapper for `Pushover `_:
.. code-block:: pycon
>>> from chump import Application
>>> app = Application('vmXXhu6J04RCQPaAIFUR6JOq6jllP1')
>>> app.is_authenticated
True
>>> user = app.get_user('KAGAw2ZMxDJVhW2HAUiSZEamwGebNa')
>>> user.is_authenticated, user.devices
(True, {'iPhone'})
>>> message = user.send_message("What's up, dog?")
>>> message.is_sent, message.id, str(message.sent_at)
(True, '7LjjD6bK8hgqdK6aJzZUblOPPH9cVpjZ', '2005-10-05 07:50:40+00:00')
Installation
============
Install chump just like everything else:
.. code-block:: bash
$ pip install chump
Documentation
=============
Full documentation is available at
`ReadTheDocs `_.