An open API service indexing awesome lists of open source software.

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.

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