Saltearse al contenido

Other endpoints

Esta página aún no está disponible en tu idioma.

the remaining Endpoints of the applications mainly for listing purpose.

  • categories: The different Card categories that are available
  • hps: The different HPs that are available
  • illustrators: The different cards illustrators
  • rarities: The different cards rarities
  • retreats: The different pokemon retreat cost
  • types: The different pokemon types

Request

// List cards categories
$categories = $tcgdex.fetchCategories();
// List cards HPs
$hps = $tcgdex.fetchHps();
// List cards illustrators
$illustrators = $tcgdex.fetchIllustrators();
// List cards rarities
$rarities = $tcgdex.fetchRarities();
// List cards retreat costs
$retreats = $tcgdex.fetchRetreats();
// List cards types
$types = $tcgdex.fetchTypes();

See how to setup the PHP SDK

Sample Response

note: response for HPs

[
10,
30,
40,
...,
320,
330,
340
]