Endpoint: location

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

Request

GETlocation
1fetch("https://pokedex.mimo.dev/api/location/galar-route-10")
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-10-main",
5 "url": "https://pokedex.mimo.dev/api/location-area/856/"
6 },
7 {
8 "name": "galar-route-10-near-station",
9 "url": "https://pokedex.mimo.dev/api/location-area/857/"
10 }
11 ],
12 "game_indices": [],
13 "id": 877,
14 "name": "galar-route-10",
15 "names": [],
16 "region": {
17 "name": "galar",
18 "url": "https://pokedex.mimo.dev/api/region/8/"
19 }
20}