Endpoint: location-area

GEThttps://pokedex.mimo.dev/api/location-area/loop-lagoon-main

Request

GETlocation-area
1fetch("https://pokedex.mimo.dev/api/location-area/loop-lagoon-main")
2 .then((res) => res.json())
3 .then((json) => console.log(json))
4 .catch((error) => console.error(error))

Response

response.json
1{
2 "encounter_method_rates": [],
3 "game_index": 0,
4 "id": 902,
5 "location": {
6 "name": "loop-lagoon",
7 "url": "https://pokedex.mimo.dev/api/location/915/"
8 },
9 "name": "loop-lagoon-main",
10 "names": [],
11 "pokemon_encounters": []
12}