PokeAPI / pokedex

PokeAPI's fork for adding gen-8 data.
https://github.com/PokeAPI/pokedex/tree/master-pokeapi/pokeapi
MIT License
43 stars 38 forks source link

pokemon Darmanitan does not exisit in API #141

Closed SheetsC closed 1 year ago

SheetsC commented 1 year ago

the API is missing a gen 5 mon. please update!:)

Naramsim commented 1 year ago

Have you tried querying /pokemon-species ?

EricBeaulieu commented 1 year ago

you can search up as a pokedex number, so pokemon/555. when you do it in this way it will return the default name which is darmanitan-standard. if you look up "pokemon-species/555" or "pokemon-species/darmanitan" youll see theres a variations selection, if you select that youll see all of the names it has. { "darmanitan-standard", "darmanitan-zen", "darmanitan-galar-standard", "darmanitan-galar-zen" } when i discovered this aspect it was definitely a game changer, hope that helps

Naramsim commented 1 year ago

No, the right way is to query: https://pokeapi.co/api/v2/pokemon-species/darmanitan