PokemonTCG / pokemon-tcg-data

The data found within the Pokémon TCG API
416 stars 200 forks source link

Should the retreat cost be an integer? #490

Open C-Ezra-M opened 10 months ago

C-Ezra-M commented 10 months ago

I don't know why is a card's Retreat Cost listed as an array instead of an integer. Because it's either an empty array or an array of strings that say "Colorless", this causes more bytes to be transferred than necessary.

Cealgair commented 10 months ago

If you want the retreat cost as an integer, you can use convertedRetreatCost