Aller au contenu

Recherche des sets

Requête

// récupération du set
$sets = $tcgdex->fetchSets();

Voir comment configurer le SDK PHP

Le SDK ne supporte actuellement pas le filtrage

Exemple de Réponse 200

[
{
"id": "base1",
"name": "Base Set",
"logo": "https://assets.tcgdex.net/en/base/base1/logo",
"cardCount": {
"total": 102,
"official": 102
}
},
// ...
{
"id": "swsh3",
"name": "Darkness Ablaze",
"logo": "https://assets.tcgdex.net/en/swsh/swsh3/logo",
"symbol": "https://assets.tcgdex.net/univ/swsh/swsh3/symbol",
"cardCount": {
"total": 201,
"official": 189
}
},
// ...
{
"id": "sv06",
"name": "Twilight Masquerade",
"logo": "https://assets.tcgdex.net/en/sv/sv06/logo",
"symbol": "https://assets.tcgdex.net/univ/sv/sv06/symbol",
"cardCount": {
"total": 226,
"official": 167
}
}
]