January 23, 2019
Pokemon Go API – Pokemon Types API
This post talks about the newest Pokemon Go API, the Pokemon Types API at pogoapi.net.
Pokemon Type Data
All Pokemon have either one or two types, these types affect the strength of moves and weaknesses
it has to opponents moves.
Getting the Pokemon Types Data
This API lists the types of each Pokemon.
GET /api/v1/pokemon_types.json
Returns a JSON array where each element is a dict containing type (an array of one or two items), Pokemon ID, Pokemon name and optionally the form.
Example data
[ { "pokemon_id": 1, "pokemon_name": "Bulbasaur", "type": [ "Grass", "Poison" ] }, { "pokemon_id": 2, "pokemon_name": "Ivysaur", "type": [ "Grass", "Poison" ] }, { "pokemon_id": 3, "pokemon_name": "Venusaur", "type": [ "Grass", "Poison" ] }, ... ]
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!