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
#
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.
Response
#
Returns Pokemon !.
Example
#
Previous
getMove