Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 604 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 604 Bytes

Instapush-py

a Python wrapper for the Instapush API.

#Installation

pip install instapush

#Usage

from instapush import Instapush, App

insta = Instapush(user_token='xxxxxxx')

insta.list_app()             #List all apps

insta.add_app(title='title') #Create a app named title

app = App(appid='xxxx', secret='xxxx')

app.list_event()             #List all event

app.add_event(event_name='xxx', trackers=['email'],
              message='{email} is on.')

app.notify(event_name='xxx', trackers={'email': '[email protected]'})

#TODO: add unittest and travis service