thunkapi.py is a python library and command line client for interacting with the thunk.us web service.
Install via pip:
pip install thunkapi
Or if you must:
easy_install thunkapi
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