pokemon_tcg 1.0.1 copy "pokemon_tcg: ^1.0.1" to clipboard
pokemon_tcg: ^1.0.1 copied to clipboard

A Dart SDK for the Pokemon TCG Developers API. An API key is required to use.

pokemon_tcg #

The official Dart SDK for the Pokemon TCG Developers API. An API key is required to use.

Usage #

  1. Sign up for a Pokemon TCG Developers account at https://pokemontcg.io/ and get your API key
  2. Import this package
  3. Initialize the API:
final api = PokemonTcgApi(apiKey: 'your_api_key');
  1. Use according to your needs

Note: When using getCards() and getCardsForSet() you should use the PaginatedPokemonCards class.

Available functions: #

  • getCards()
  • getCardsForSet('set_id')
  • getCard('card_id') // example 'xy7-54'
  • getSets()
  • getSet('set_id') // example: 'swsh5'
  • getTypes()
  • getSubtypes()
  • getSupertypes()
  • getRarities()

Roadmap 🚀 #

  • /sets
  • /sets/:id
  • /cards
  • /cards/:id
  • /types
  • /subtypes
  • /supertypes
  • /rarities
8
likes
120
pub points
36%
popularity

Publisher

verified publishergroovinchip.dev

A Dart SDK for the Pokemon TCG Developers API. An API key is required to use.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, http

More

Packages that depend on pokemon_tcg