Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
python wrapper for notifo.com
Python
Branch: develop
Pull request Compare This branch is 10 commits ahead, 4 commits behind master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
docs
notifo
tests
.gitignore
HISTORY.rst
LICENSE
MANIFEST
MANIFEST.in
README.rst
setup.py
tox.ini

README.rst

notifo.py

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.send_message(login, token, to, msg)
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 [-m] [-l label] [-t title] [-c callback] [TEXT]

Contribute

If you want to contribute:

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don’t break it in a future version unintentionally.
  • Commit, do not mess with version
  • Send me a pull request. Bonus points for topic branches.
Something went wrong with that request. Please try again.