PokemonTCG / pokemon-tcg-data

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

Way to filter all cards that have rules #518

Closed jtodd3 closed 6 months ago

jtodd3 commented 6 months ago

I'm looking to make a /search request that does not return cards that have a rules property.

Any help would be appreciated, Thanks!

Cealgair commented 6 months ago

https://api.pokemontcg.io/v2/cards?q=-rules:* Is this what you need?

jtodd3 commented 6 months ago

What would it look like if I wanted to filter out specific rules. ie) Tag Team, V, or ex?

jtodd3 commented 6 months ago

nevermind, I was able to do what I was looking for by filtering on subtypes