Endpoint: location

GEThttps://pokedex.mimo.dev/api/location/galar-route-3

Request

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

Response

response.json
1{
2 "areas": [
3 {
4 "name": "galar-route-3-main",
5 "url": "https://pokedex.mimo.dev/api/location-area/845/"
6 },
7 {
8 "name": "galar-route-3-garbage",
9 "url": "https://pokedex.mimo.dev/api/location-area/846/"
10 }
11 ],
12 "game_indices": [],
13 "id": 870,
14 "name": "galar-route-3",
15 "names": [],
16 "region": {
17 "name": "galar",
18 "url": "https://pokedex.mimo.dev/api/region/8/"
19 }
20}