Python library for the thunk.us API
thunkapi.py is a python library and command line client for interacting with the thunk.us web service.
thunk.py can be imported into any python module:
import thunkapi thunkapi.create() thunkapi.poke(UID, state, payload) thunkapi.check(uid)
There is also a command line client to use:
thunk.py UID thunk.py -x check UID thunk.py -x check "UID1,UID2,UID3" thunk.py -x poke -s state -p payload UID thunk.py -x create
- add basic API access
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.