0 purchases
pokeapi
pokeapi-dart #
Wrapper for Poke API, written in Dart. Supports PokeAPI v2.
pokeapi-dart
Documentation
Getting Started
Endpoints
Berries
Contests
Encounters
Evolution
Games
Items
Locations
Machines
Moves
Pokemon
Utility
Documentation #
Full API documentation can be found at Poke API.
Getting Started #
To use this plugin, add pokeapi as a dependency in your pubspec.yaml file.
import 'package:pokeapi/pokeapi.dart';
copied to clipboard
Endpoints #
Berries #
Berries
Get Berries
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Berry>(1, 1);
copied to clipboard
Get Berry
Must pass an ID as Int as Int (e.g. 1).
var response = PokeAPI.getObject<Berry>(1);
copied to clipboard
Berry Firmness
Get Berry Firmnesses
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<BerryFirmness>(1, 1);
copied to clipboard
Get Berry Firmness
Must pass an ID as Int as Int (e.g. 1).
var response = PokeAPI.getObject<BerryFirmness>(1);
copied to clipboard
Berry Flavors
Get Berry Flavors
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<BerryFlavor>(1, 1);
copied to clipboard
Get Berry Flavor
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<BerryFlavor>(1);
copied to clipboard
Contests #
Contest Types
Get Contest Types
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<ContestType>(1, 1);
copied to clipboard
Get Contest Type
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<ContestType>(1);
copied to clipboard
Contest Effects
Get Contest Effects
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<ContestEffect>(1, 1);
copied to clipboard
Get Contest Effect
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<ContestEffect>(1);
copied to clipboard
Super Contest Effects
Get Super Contest Effects
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<SuperContestEffect>(1, 1);
copied to clipboard
Get Super Contest Effect
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<SuperContestEffect>(1);
copied to clipboard
Encounters #
Encounter Methods
Get Encounter Methods
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<EncounterMethod>(1, 1);
copied to clipboard
Get Encounter Method
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<EncounterMethod>(1);
copied to clipboard
Encounter Conditions
Get Encounter Conditions
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<EncounterCondition>(1, 1);
copied to clipboard
Get Encounter Condition
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<EncounterCondition>(1);
copied to clipboard
Encounter Condition Values
Get Encounter Condition Values
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<EncounterConditionValue>(1, 1);
copied to clipboard
Get Encounter Condition Value
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<EncounterConditionValue>(1);
copied to clipboard
Evolution #
Evolution Chains
Get Evolution Chains
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<EvolutionChain>(1, 1);
copied to clipboard
Get Evolution Chain
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<EvolutionChain>(1);
copied to clipboard
Evolution Triggers
Get Evolution Triggers
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<EvolutionTrigger>(1, 1);
copied to clipboard
Get Evolution Trigger
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<EvolutionTrigger>(1);
copied to clipboard
Games #
Generations
Get Generations
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Generation>(1, 1);
copied to clipboard
Get Generation
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Generation>(1);
copied to clipboard
Pokedex
Get All Pokedex
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Pokedex>(1, 1);
copied to clipboard
Get Single Pokedex
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Pokedex>(1);
copied to clipboard
Versions
Get Versions
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Version>(1, 1);
copied to clipboard
Get Version
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Version>(1);
copied to clipboard
Version Groups
Get Version Groups
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<VersionGroup>(1, 1);
copied to clipboard
Get Version Group
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<VersionGroup>(1);
copied to clipboard
Items #
Items
Get Items
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Item>(1, 1);
copied to clipboard
Get Item
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Item>(1);
copied to clipboard
Item Attributes
Get Item Attributes
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<ItemAttribute>(1, 1);
copied to clipboard
Get Item Attribute
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<ItemAttribute>(1);
copied to clipboard
Item Categories
Get Item Categories
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<ItemCategory>(1, 1);
copied to clipboard
Get Item Category
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<ItemCategory>(1);
copied to clipboard
Item Fling Effects
Get Item Fling Effects
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<ItemFlingEffect>(1, 1);
copied to clipboard
Get Item Fling Effect
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<ItemFlingEffect>(1);
copied to clipboard
Item Pockets
Get Item Pockets
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<ItemPocket>(1, 1);
copied to clipboard
Get Item Pocket
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<ItemPocket>(1);
copied to clipboard
Locations #
Locations
Get Locations
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Location>(1, 1);
copied to clipboard
Get Location
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Location>(1);
copied to clipboard
Location Areas
Get Location Areas
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<LocationArea>(1, 1);
copied to clipboard
Get Location Area
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<LocationArea>(1);
copied to clipboard
Pal Park Areas
Get Pal Park Areas
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<PalParkArea>(1, 1);
copied to clipboard
Get Pal Park Area
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<PalParkArea>(1);
copied to clipboard
Regions
Get Regions
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Region>(1, 1);
copied to clipboard
Get Region
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Region>(1);
copied to clipboard
Machines #
Machines
Get Machines
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Machine>(1, 1);
copied to clipboard
Get Machine
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Machine>(1);
copied to clipboard
Moves #
Moves
Get Moves
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Move>(1, 1);
copied to clipboard
Get Move
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Move>(1);
copied to clipboard
Move Ailments
Get Move Ailments
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<MoveAilment>(1, 1);
copied to clipboard
Get Move Ailment
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<MoveAilment>(1);
copied to clipboard
Move Battle Styles
Get Move Battle Styles
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<MoveBattleStyle>(1, 1);
copied to clipboard
Get Move Battle Style
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<MoveBattleStyle>(1);
copied to clipboard
Move Categories
Get Move Categories
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<MoveCategory>(1, 1);
copied to clipboard
Get Move Category
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<MoveCategory>(1);
copied to clipboard
Move Damage Classes
Get Move Damage Classes
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<MoveDamageClass>(1, 1);
copied to clipboard
Get Move Damage Class
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<MoveDamageClass>(1);
copied to clipboard
Move Learn Methods
Get Move Learn Methods
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<MoveLearnMethod>(1, 1);
copied to clipboard
Get Move Learn Method
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<MoveLearnMethod>(1);
copied to clipboard
Move Targets
Get Move Targets
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<MoveTarget>(1, 1);
copied to clipboard
Get Move Target
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<MoveTarget>(1);
copied to clipboard
Pokemon #
Abilities
Get Abilities
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Ability>(1, 1);
copied to clipboard
Get Ability
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Ability>(1);
copied to clipboard
Characteristics
Get Characteristics
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Characteristic>(1, 1);
copied to clipboard
Get Characteristic
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Characteristic>(1);
copied to clipboard
Egg Groups
Get Egg Groups
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<EggGroup>(1, 1);
copied to clipboard
Get Egg Group
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<EggGroup>(1);
copied to clipboard
Genders
Get Genders
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Gender>(1, 1);
copied to clipboard
Get Gender
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Gender>(1);
copied to clipboard
Growth Rates
Get Growth Rates
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<GrowthRate>(1, 1);
copied to clipboard
Get Growth Rate
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<GrowthRate>(1);
copied to clipboard
Natures
Get Natures
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Nature>(1, 1);
copied to clipboard
Get Nature
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Nature>(1);
copied to clipboard
Pokeathlon Stats
Get Pokeathlon Stats
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<PokeAthlon>(1, 1);
copied to clipboard
Get Pokeathlon Stat
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<PokeAthlon>(1);
copied to clipboard
Pokemon
Get All Pokemon
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Pokemon>(1, 1);
copied to clipboard
Get Single Pokemon
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Pokemon>(1);
copied to clipboard
Pokemon Colors
Get Pokemon Colors
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<PokemonColor>(1, 1);
copied to clipboard
Get Pokemon Color
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<PokemonColor>(1);
copied to clipboard
Pokemon Forms
Get Pokemon Forms
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<PokemonForm>(1, 1);
copied to clipboard
Get Pokemon Form
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<PokemonForm>(1);
copied to clipboard
Pokemon Habitats
Get Pokemon Habitats
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<PokemonHabitat>(1, 1);
copied to clipboard
Get Pokemon Habitat
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<PokemonHabitat>(1);
copied to clipboard
Pokemon Shapes
Get Pokemon Shapes
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<PokemonShape>(1, 1);
copied to clipboard
Get Pokemon Shape
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<PokemonShape>(1);
copied to clipboard
Pokemon Species
Get All Pokemon Species
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<PokemonSpecie>(1, 1);
copied to clipboard
Get Single Pokemon Species
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<PokemonSpecie>(1);
copied to clipboard
Stats
Get Stats
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Stat>(1, 1);
copied to clipboard
Get Stat
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Stat>(1);
copied to clipboard
Types
Get Types
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Type>(1, 1);
copied to clipboard
Get Type
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Type>(1);
copied to clipboard
Utility #
Languages
Get Languages
Must pass an offset and limit as Int (e.g. 1, 1).
var response = PokeAPI.getObjectList<Language>(1, 1);
copied to clipboard
Get Language
Must pass an ID as Int (e.g. 1).
var response = PokeAPI.getObject<Language>(1);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.