Hi,
I'm trying to get cards information using list of cards id. I found that it possible to achieve using the api search but I couldn't pass the list of cards.
here is my url:
'https://api.trello.com/1/search?&modelType=cards&query="card1,card2"&key=[key]&token=[token]'
What am I doing wrong? or there is better way to receive this data?
Thx,
Nicolas
@Nicolas this this from the py-trello library
def search(self, query, partial_match=False, models=[],board_ids=[], org_ids=[], card_ids=[], cards_limit=10):
This query limits the search on information within board, cards...etc. It does not search card by card_id
If I have to get cards that matches card_ids I would go through all the cards but then if I already have the id then client.get_card(card_id) gets you the card...really no need to search.
** all based on py-trello
My apologies if I have not understood your question completely
thank you for the quick answer
can i pass the search function wildcard on the query parameter and pass list of card ids ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you do that basically you are saying get me ‘xyz’ but look at only these cards with these IDs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.