PokemonTCG/pokemon-tcg-sdk-csharp

No property AncientTrait in Card or PokemonCard classes.

Closed this issue · 1 comments

This is the only problem I've encountered by now, the job you've done with the API is simply amazing.
I noticed that if a card has the key "ancientTrait", like Celebi (xyp-XY93), the value of the key cannot be accessed or read.

I'll attach the code I'm using, maybe it can help:

PokemonApiClient pokeClient = new PokemonApiClient("API-KEY");

// filter
var filter = PokemonFilterBuilder.CreatePokemonFilter()
    .AddId("xyp-XY93");

// get card
var card = await pokeClient.GetApiResourceAsync<PokemonCard>(filters: filter);

This has been fixed in v2.2.1 which should be propagating through nuget shortly