Anuj
Anuj

Author of this blog.

Using the Trello Python API

Using the Trello Python API

This is a quick tutorial on using the Trello Python API.

Trello is a great tool that I use to keep myself updated with various tasks and ToDo’s. You can have a look at the API provided by Trello here.

  • First get your Trello API key and access token from here.

  • Once you have the access token and API key create a client:

from trello import TrelloApi
client = TrelloApi(your_api_key, your_token)
  • Now you can get a list of all Boards by using the code below:
client.members.get_board('me')
  • To get a list of lists in a board:
client.boards.get_list(board_id)
  • To get all cards in a list:
client.lists.get_card(list_id)

THE END.

comments powered by Disqus