Endpoint: location

GEThttps://pokedex.mimo.dev/api/location/holm-of-trials

Request

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