Skip to content

mrtazz/thunkapi.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Python API wrapper for thunk.us

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages