When i use "CRZ" as a set name it responds with the following error:
pkm/parser.go:116 Invalid set code: CRZ
I think this happens because the V1 version of the api is used.
When i curl the V1 api and grep for "CRZ" i get 0 hits:
but when i use the V2 api:
curl "https://api.pokemontcg.io/v2/sets" | jq | grep -i crz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 51378 0 51378 0 0 40891 0 --:--:-- 0:00:01 --:--:-- 40906
"ptcgoCode": "CRZ",
"ptcgoCode": "CRZ",
Then i can see the sets.
I did a little bit of digging and i came across the following:
in "plugins/pkm/api.go" you import:
pokemontcgsdk "github.com/PokemonTCG/pokemon-tcg-sdk-go/src"
Describe the bug Crown-zenith sets not found:
When i use "CRZ" as a set name it responds with the following error: pkm/parser.go:116 Invalid set code: CRZ
I think this happens because the V1 version of the api is used. When i curl the V1 api and grep for "CRZ" i get 0 hits: but when i use the V2 api:
curl "https://api.pokemontcg.io/v2/sets" | jq | grep -i crz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 51378 0 51378 0 0 40891 0 --:--:-- 0:00:01 --:--:-- 40906 "ptcgoCode": "CRZ", "ptcgoCode": "CRZ",
Then i can see the sets.
I did a little bit of digging and i came across the following:
in "plugins/pkm/api.go" you import: pokemontcgsdk "github.com/PokemonTCG/pokemon-tcg-sdk-go/src"
they do have a V2 version: https://github.com/PokemonTCG/pokemon-tcg-sdk-go-v2
I tried to change it and build the gui version but it didn't work and i have never used go so i don't know how to fix it :)
To Reproduce Steps to reproduce the behavior:
Expected behavior I expected a deck file, Just like when you use other set names.
Screenshots N/A
Desktop (please complete the following information):
Additional context N/A