Magidoc

getPokemon
Query

Gets details on a single Pokémon based on species name

You can provide takeFlavorTexts to limit the amount of flavour texts to return, set the offset of where to start with offsetFlavorTexts, and reverse the entire array with reverseFlavorTexts.

Reversal is applied before pagination!

Arguments

#

offsetFlavorTexts

Sets the offset for flavor texts from where to start.

takeFlavorTexts = 1

Return this many flavour texts, up to the maximum of entries that the requested Pokémon has.

reverseFlavorTexts = true

Whether to reverse the list of games from which to get the data. By default Generation 1 is considered for take first, when setting this to true that is instead Generation 8.

pokemon

Non-null

The Pokémon to look up

Response

#

Returns Pokemon !.

Example

#