coinshot
A simple Python module for Pushover.net
Example
See example.py for full example:
from coinshot import Coinshot, CoinshotException coinshot_object = Coinshot(application_key[, user_key]) coinshot_object.push(message[, title, user_key, device, url, url_title, priority, timestamp])
shoot
If all you're looking for is an app to send pushover notifications through (not a library for doing it programmatically, look at bin/shoot.
Usage
Usage: shoot [options] message Options: -h, --help show this help message and exit -a APP_KEY, --application-key=APP_KEY Application key provided by pushover.net -u USER_KEY, --user-key=USER_KEY User key provided by pushover.net -t TITLE, --title=TITLE Notification Title
Notes
-
user_key
is required either during object initialization or when calling push. If auser_key
is provided for both, the one passed to push takes precedent. -
url_title
can be passed withouturl
, but will be ignored
To Do
See todo.md
What's the deal with the name?
The name coinshot is derived from a class of characters from Brandon Sanderson's Mistborn book series. Coinshot Allomancers "burn" steel to Push nearby metals.