This repo is archived, and will no longer be maintained.
This is trlo
, a minimalist Trello API client. It's really nothing more than an ultra-thin layer on top of requests that helps with the OAuth flow. You'll still need to read Trello's API docs and know how to use requests, and generally be comfortable consuming REST resources by hand. If you want something more abstract with crazy new-fangled things like classes and such then look elsewhere.
-
Install:
pip install trlo
, natch. -
Authorize:
python -m trlo --key=KEY --secret=SECRET
. Find your key and secret here.. This saves your creds to~/.trlo
for later user. -
Do stuff:
import trlo
trello = trlo.TrelloSession.from_config_file()
for board in trello.get('members/me/boards').json():
print board['name']