Python library for the notifo.com API
Project description
Introduction
notifo.py is a python library for the notifo.com notification service.
Installation
Install via pip:
pip install notifo
Or if you must:
easy_install notifo
Usage
notifo.py can be imported into any python module:
import notifo notifo.send_notification(login, token, recipient, msg, label, title, uri) notifo.subscribe_user(login, token, user)
Return data is the parsed json status code:
{u'status': u'success', u'response_code': 2201, u'response_message': u'OK'}
There is also a cli client included:
notifo_cli.py -u user -s secret -n name [-l label] [-t title] [-c callback] TEXT
History
0.2.1 (2010-07-05)
fallbacks for json import
improved HTTP error handling
unit tests
0.2.0 (2010-06-27)
add cli client to send notifications
0.1.1 (2010-06-25)
fix typo which prevented proper function call of subscribe_user
0.1.0 (2010-06-17)
add basic API access
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
notifo-0.2.2.tar.gz
(3.2 kB
view hashes)