Skip to content

Releases: PokemonTCG/pokemon-tcg-sdk-php

2.1.0

10 Aug 16:36
ef64074
Compare
Choose a tag to compare

Changes

  • Added Card Market data to card objects. Thanks to @oliversarfas!

2.0.0

13 Mar 07:22
Compare
Choose a tag to compare

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

04 Dec 04:30
Compare
Choose a tag to compare
  • Added expandedLegal and logoUrl to Set class. Thanks @DynamoGeek

1.1.0

30 Nov 04:34
Compare
Choose a tag to compare
  • Added type property to Ability class
  • Added imageUrlHiRes to Card class
  • Added ptcgoCode and symbolUrl to Set class

1.0.0

20 Sep 02:25
Compare
Choose a tag to compare

Initial release