Searching for cards
Este conteúdo não está disponível em sua língua ainda.
Request
Section titled “Request”$card = $tcgdex->card->list();
// filter, sort & paginate the result (ex: find card where name is equal to furret)const cards = $tcgdex->card->list(Query->create()->equal('name', 'furret'));
const card = await tcgdex.card.list();
// filter, sort & paginate the result (ex: find card where name is equal to furret)const cards = await tcgdex.card.list(new Query().equal('name', 'furret'));
const card = await tcgdex.card.list();
// filter, sort & paginate the result (ex: find card where name is equal to furret)const cards = await tcgdex.card.list(new Query().equal('name', 'furret'));
Card card = tcgdex.fetchCards();
SDK currently does not support filtering
val card = tcgdex.fetchCards()
See how to setup the Kotlin SDK
SDK currently does not support filtering
Sample Response
Section titled “Sample Response”200 Response
Section titled “200 Response”The request return an array of CardBrief
objects
[ { "id": "base4-1", "localId": "1", "name": "Alakazam", "image": "https://assets.tcgdex.net/en/base/base4/1" }, // ... { "id": "xyp-XY99", "localId": "XY99", "name": "Aerodactyl Spirit Link", "image": "https://assets.tcgdex.net/en/xy/xyp/XY99" }]