Endpoint: location

GEThttps://pokedex.mimo.dev/api/location/three-island

Request

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

Response

response.json
1{
2 "areas": [],
3 "game_indices": [],
4 "id": 806,
5 "name": "three-island",
6 "names": [
7 {
8 "language": {
9 "name": "en",
10 "url": "https://pokedex.mimo.dev/api/language/9/"
11 },
12 "name": "Three Island"
13 }
14 ],
15 "region": {
16 "name": "kanto",
17 "url": "https://pokedex.mimo.dev/api/region/1/"
18 }
19}