I know that inside Trello's API I can make at maximum 100 calls per 10 seconds, but what I'm facing is actually a problem that is giving me some sort of Headache:
What I want to do, actually: I have a list that has more than 30 cards and I want to grab their actions (for the last activity and update on card). But the problem is: As I'm making a for iteration for each card to grab its actions, it seems not to iterate through the Trello.cards.get() function, when I needed it to do so before plotting the entire table.
if needed, I'll post part of the code I'm using to get the actions and cards.
Bruno,
If you have a single list with the cards on it, you can get the actions for each card in a single call to the API. For instance, we can use this public board as an example: https://trello.com/b/1Jz6SorC/the-dev-board
To get the most recent action for each of the cards in the first list (Incoming Bugs - 5501eaf12a0f4b882b0e2170) we can make the following request:
https://api.trello.com/1/lists/5501eaf12a0f4b882b0e2170/cards?fields=id&actions=all&actions_limit=1
We are including a request to include actions via the query params (documented at https://developers.trello.com/reference/#actions-nested-resource).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.