pokemon_tcg 0.3.0 pokemon_tcg: ^0.3.0 copied to clipboard
A Dart SDK for the Pokemon TCG Developers API. An API key is required to use.
pokemon_tcg #
A Dart SDK for the Pokemon TCG Developers API. An API key is required to use.
Usage #
- Sign up for a Pokemon TCG Developers account at https://pokemontcg.io/ and get your API key
- Import this package
- Initialize the API:
final api = PokemonTcgApi(apiKey: 'your_api_key');
- Use according to your needs
Available functions: #
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