https://github.com/mrtazz/thunkapi.py
Python API wrapper for thunk.us
https://github.com/mrtazz/thunkapi.py
Last synced: over 1 year ago
JSON representation
Python API wrapper for thunk.us
- Host: GitHub
- URL: https://github.com/mrtazz/thunkapi.py
- Owner: mrtazz
- License: mit
- Created: 2010-06-03T16:08:13.000Z (about 16 years ago)
- Default Branch: master
- Last Pushed: 2010-07-15T14:31:50.000Z (almost 16 years ago)
- Last Synced: 2025-02-26T21:46:35.999Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 109 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- License: LICENSE
Awesome Lists containing this project
README
============
thunkapi.py
============
Introduction
=============
thunkapi.py is a python library and command line client for
interacting with the thunk.us_ web service.
Installation
=============
Install via pip::
pip install thunkapi
Or if you must::
easy_install thunkapi
Usage
======
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
.. _thunk.us: http://thunk.us