Endpoint: location

GEThttps://pokedex.mimo.dev/api/location/water-path

Request

GETlocation
1fetch("https://pokedex.mimo.dev/api/location/water-path")
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": "water-path-area",
5 "url": "https://pokedex.mimo.dev/api/location-area/523/"
6 }
7 ],
8 "game_indices": [],
9 "id": 516,
10 "name": "water-path",
11 "names": [
12 {
13 "language": {
14 "name": "fr",
15 "url": "https://pokedex.mimo.dev/api/language/5/"
16 },
17 "name": "Agualcanal"
18 },
19 {
20 "language": {
21 "name": "en",
22 "url": "https://pokedex.mimo.dev/api/language/9/"
23 },
24 "name": "Water Path"
25 }
26 ],
27 "region": {
28 "name": "kanto",
29 "url": "https://pokedex.mimo.dev/api/region/1/"
30 }
31}