Releases: PokemonTCG/pokemon-tcg-sdk-php
Releases · PokemonTCG/pokemon-tcg-sdk-php
2.1.0
2.0.0
Fully support Pokémon TCG API v2
General
- Update PHP requirement to supported versions - 7.4 & 8.0
- Add support for X-Api-Key header
- Response data now lives inside a data field instead of cards , sets, subtypes, etc
- Update README.md
Pagination
- Support page and pageSize for requests
- Support page, pageSize, count and totalCount in responses
- Add pagination tests
Cards
- Replace subtype with subtypes array
- Replace ability with abilities array
- Replace nationalPokedexNumber with nationalPokedexNumbers array
- Replace imageUrl and imageHiRes with images object
- Replace text with rules
- Add legalities object
- Add tcgplayer object
- Add set object
- Add flavorText string
- Add evolvesTo array
- Update Tests
Sets
- Replace standardLegal and expandedLegal with legalities object
- Replace totalCards with printedTotal
- Replace symbolUrl and logoUrl with logos object
- Add total number
- Update Tests
Rarities
- Add Rarity resource
- Add Rarity tests
1.2.0
- Added
expandedLegal
andlogoUrl
to Set class. Thanks @DynamoGeek