Recherche de cartes
Requête
$cards = $tcgdex->fetchCards();
const cards = await tcgdex.fetch('cards');
const cards = await tcgdex.fetch('cards');
List<CardBrief> cards = tcgdex.fetchCards();
val cards = tcgdex.fetchCards()
Exemple de Réponse
Réponse 200
La requête retourne un tableau d’objets CardBrief
[ { "id": "base4-1", "localId": "1", "name": "Alakazam", "image": "https://assets.tcgdex.net/fr/base/base4/1" }, // ... { "id": "xy1-1", "localId": "1", "name": "Florizarre EX", "image": "https://assets.tcgdex.net/fr/xy/xy1/1" }]