Endpoint: location
GEThttps://pokedex.mimo.dev/api/location/galar-route-9
Request
GETlocation
1fetch("https://pokedex.mimo.dev/api/location/galar-route-9")
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-9-main",
5 "url": "https://pokedex.mimo.dev/api/location-area/853/"
6 },
7 {
8 "name": "galar-route-9-circhester-bay",
9 "url": "https://pokedex.mimo.dev/api/location-area/854/"
10 },
11 {
12 "name": "galar-route-9-outer-spikemouth",
13 "url": "https://pokedex.mimo.dev/api/location-area/855/"
14 }
15 ],
16 "game_indices": [],
17 "id": 876,
18 "name": "galar-route-9",
19 "names": [],
20 "region": {
21 "name": "galar",
22 "url": "https://pokedex.mimo.dev/api/region/8/"
23 }
24}