Skip to content

wozz/notifo.py

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, recipient, 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 message_type] [-l label] [-t title] [-c callback] [TEXT]

About

python wrapper for notifo.com

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%