Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

sample-python

How to access the thinkery API using Python.

We provide a very small library (heavily inspired by requests-oauth2) which uses a username/password combination to authenticate against the api. You can also use a web flow (and the url provided by API.authorize_url()) to get an access token.

Our sample program can be used to add a thing:

$ python add-thing.py "test thing" -t foo bar
{"_id":"31293a4c1cb602d812621129","title":"test thing","date":1359560000,"tags":["foo","bar"]}

(the response is the raw output from the api, which shows the thing that has been added successfully)

Requirements

To use the API, you must create your API keys at https://thinkery.me/api/apps/

Also the requests library is being used. You can install it like this:

pip install requests

About

How to access the thinkery API using Python 2.7+

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.