

TrelloApi ( apikey, token=None ) ¶ get_token_url ( app_name, expires='30days', write_access=True ) ¶ set_token ( token ) ¶ class trello. Using these 3 items, below is how the RESTful URI to access a list is going to look like: list_json_url = "īelow is how i'm loading above list JSON in my Python program : with Python API ¶ class trello. Iii) list id: you can find this in the board JSON Posting the snap shot below for convenience. Ii) Token: On the above page itself, you'll find link to the Token generation. As the question is about accessing Trello list and its cards, will limit my solution to list access using Trello RESTful API and py-trello.įollowing you need to form your URI to access the desired list and its cards JSON I recently worked on Trello data using its RESTful API and using Python's py-trello.

So the question boils down to how can I get a token? I used the Secret key as the token, but I guess that's not the token. Then I can visit that link programmatically and do my analysis.Įdit: Using the trello developer sandbox: I found the id of a list, which I substituted into 4eea4ffc91e31d174600004a, but now I get the following: Taco says “invalid token”, but what does he know? He's just a dog. I simply want to visit a url that gives me json or something of that vein, with all the contents of a list (e.g.
#Trello python api tutorial how to#
I read the following page: (which gave me the link to the url above), but there is no info on how to get 4eea4ffc91e31d174600004a. However, I am not sure where these letters/numbers are coming from: 4eea4ffc91e31d174600004a. I tried the following from their docs: &token= I have an API key, as well as a Secret key. The API seems quite complex, and I have been at it for hours.

I am trying to get the contents of a list on I a board I created to understand some things about my work flow.
