a Python wrapper for the Instapaper API.
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
instapush
.gitignore
LICENSE
README.md
setup.cfg
setup.py

README.md

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': 'test@test.com'})

#TODO: add unittest and travis service