Endpoint: location

GEThttps://pokedex.mimo.dev/api/location/galar-iron-ruins

Request

GETlocation
1fetch("https://pokedex.mimo.dev/api/location/galar-iron-ruins")
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-iron-ruins-area",
5 "url": "https://pokedex.mimo.dev/api/location-area/899/"
6 }
7 ],
8 "game_indices": [],
9 "id": 912,
10 "name": "galar-iron-ruins",
11 "names": [],
12 "region": {
13 "name": "galar",
14 "url": "https://pokedex.mimo.dev/api/region/8/"
15 }
16}