Important API endpoints
List of sanity checks (I have done your homework π) and API endpoints that help you get the cards and list.
https://api.trello.com/1/boards/{boardID}?key={yourKey}&token={yourToken}
https://api.trello.com/1/boards/{boardID}/lists?key={key}&token={token}
https://api.trello.com/1/lists/{cardID}/cards?key={key}&token={token}
We need to hit 3 endpoints sequentially to get all the items in the cards. /1/boards/{boardID}
{boardID} is your part of the URL on your Trello board they have some confusing API keywords this will give you boardID
for query the list for the next step
Make use of the id from the first endpoint in the 1/boards/{boardID}/lists
and this will return cards on the board if done right.
Having copied the id proceed to obtain the items in the card
The 3rd endpoint will be used for the Sapper app and generate blog posts, have the last endpoint somewhere safe.
Top comments (0)