Pokemon Go API – Pokemon Generations API
This post talks about the newest Pokemon Go API, the Pokemon Generations API at pogoapi.net.
Using the Pokemon Generations API
Each Pokemon has an associated generation that it was originally released in. This generation relates to the generation in the original video games.
Currently Niantic are progressing through the generations releasing Pokemon.
This may be useful to remove some Pokemon from generations which have not yet been released.
Getting the Pokemon Generations
This API details the Pokemon and the generation they were released in.
GET /api/v1/api_hashes.json
Returns a JSON dict where each key is the generation name and the value is a list of Pokemon that are from that generation. Each Pokemon entry has its name, Pokemon ID, and generation number.
Example Data
{
"Generation 1": [
{
"generation_number": 1,
"id": 1,
"name": "Bulbasaur"
},
{
"generation_number": 1,
"id": 2,
"name": "Ivysaur"
}, ...
], ...
}
The full documentation is available on the PoGoAPI.net documentation page.
If you have any questions about this API or suggestions for other API’s contact me here below or on Twitter!