Magidoc

getPokemonByDexNumber
Query

Gets details on a single Pokémon based on National Pokédex number

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.

number

Non-null

The International PokéDex number of the Pokémon to look up. The valid value ranges are (boundaries inclusive) -5000 to -5014 and -72 to 1025

Response

#

Returns Pokemon !.

Example

#