Fetching data from Trello private boards

<blockquote class="trello-card">
<a href="{url to card}">Trello Card</a>
</blockquote>
<script src="https://p.trellocdn.com/embed.min.js"></script>

1 — Defining our scope

1.1 The user

2 — The Trello API

Trello boards are composed of several elements. The board itself, the lists that belong to the board and cards that belong to the lists. The structure, in terms of API endpoints look somewhat like this:

GET board/{id}/lists
https://trello.com/b/arggKDfh/YOUR-BOARD
[
{
"id": "57a890c6504676888e1dd737",
"name": "Backlog",
"cards": [
{
"id": "57a890c7504676888e1dd818",
"name": "Product Owner: Brian"
},
{
"id": "57a890c7504676888e1dd7e5",
"name": "(3) fix /org/:id route"
}
]
},
{
"id": "57a890c6504676888e1dd738",
"name": "Sprint Backlog",
"cards": [
{
"id": "57a890c6504676888e1dd776",
"name": "(8) Clicking the collection beneath a board should filter by collection, not open collections pop-over"
},
{
"id": "57a890c7504676888e1dd7f0",
"name": "(2) BC3 team boards page: Show Other Private Boards"
},
{
"id": "57a890c6504676888e1dd772",
"name": "(1) Add post-message-io"
}
]
},
{
"id": "57a890c6504676888e1dd739",
"name": "In Progress",
"cards": [
{
"id": "57a248d3977a6e388bf6cb80",
"name": "Multiple due dates"
}
]
}
]
1 - id: The id for each list on the board;
2 - the name of each list
3 - An array which consist of cards in that list
{ id: '5a7ce599abb969513e966df4',
name: 'Users should be able to change their profile picture on the "Profile" page',
idMembers: [ '502a6651e4aa52502119c988' ],
nameMembers: [ 'Teogenes Moura' ] }

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store