Pular para o conteúdo

Searching for cards

Este conteúdo não está disponível em sua língua ainda.

$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'));

See how to setup the Javascript SDK

Full filtering documentation here support

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"
}
]