Endpoint: location
GEThttps://pokedex.mimo.dev/api/location/icefall-cave
Request
GETlocation
1fetch("https://pokedex.mimo.dev/api/location/icefall-cave")
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": "icefall-cave-entrance",
5 "url": "https://pokedex.mimo.dev/api/location-area/496/"
6 },
7 {
8 "name": "icefall-cave-1f",
9 "url": "https://pokedex.mimo.dev/api/location-area/497/"
10 },
11 {
12 "name": "icefall-cave-b1f",
13 "url": "https://pokedex.mimo.dev/api/location-area/498/"
14 },
15 {
16 "name": "icefall-cave-waterfall",
17 "url": "https://pokedex.mimo.dev/api/location-area/499/"
18 }
19 ],
20 "game_indices": [],
21 "id": 502,
22 "name": "icefall-cave",
23 "names": [
24 {
25 "language": {
26 "name": "fr",
27 "url": "https://pokedex.mimo.dev/api/language/5/"
28 },
29 "name": "Grotte de Glace"
30 },
31 {
32 "language": {
33 "name": "en",
34 "url": "https://pokedex.mimo.dev/api/language/9/"
35 },
36 "name": "Icefall Cave"
37 }
38 ],
39 "region": {
40 "name": "kanto",
41 "url": "https://pokedex.mimo.dev/api/region/1/"
42 }
43}