Search code examples
trello

How to use the Trello API to get all cards with a purple label?


I'm trying to use Trello sandbox to get all cards (from all boards) that are labeled purple.


Solution

  • This worked:

    Trello.rest('GET', 'search', {'query': 'label:purple'});