Endpoint: location

GEThttps://pokedex.mimo.dev/api/location/lost-cave

Request

GETlocation
1fetch("https://pokedex.mimo.dev/api/location/lost-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": "lost-cave-room-1",
5 "url": "https://pokedex.mimo.dev/api/location-area/501/"
6 },
7 {
8 "name": "lost-cave-room-2",
9 "url": "https://pokedex.mimo.dev/api/location-area/502/"
10 },
11 {
12 "name": "lost-cave-room-3",
13 "url": "https://pokedex.mimo.dev/api/location-area/503/"
14 },
15 {
16 "name": "lost-cave-room-4",
17 "url": "https://pokedex.mimo.dev/api/location-area/504/"
18 },
19 {
20 "name": "lost-cave-room-5",
21 "url": "https://pokedex.mimo.dev/api/location-area/505/"
22 },
23 {
24 "name": "lost-cave-room-6",
25 "url": "https://pokedex.mimo.dev/api/location-area/506/"
26 },
27 {
28 "name": "lost-cave-room-7",
29 "url": "https://pokedex.mimo.dev/api/location-area/507/"
30 },
31 {
32 "name": "lost-cave-room-8",
33 "url": "https://pokedex.mimo.dev/api/location-area/508/"
34 },
35 {
36 "name": "lost-cave-room-9",
37 "url": "https://pokedex.mimo.dev/api/location-area/509/"
38 },
39 {
40 "name": "lost-cave-room-10",
41 "url": "https://pokedex.mimo.dev/api/location-area/510/"
42 },
43 {
44 "name": "lost-cave-item-rooms",
45 "url": "https://pokedex.mimo.dev/api/location-area/511/"
46 }
47 ],
48 "game_indices": [],
49 "id": 504,
50 "name": "lost-cave",
51 "names": [
52 {
53 "language": {
54 "name": "fr",
55 "url": "https://pokedex.mimo.dev/api/language/5/"
56 },
57 "name": "Grotte Perdue"
58 },
59 {
60 "language": {
61 "name": "en",
62 "url": "https://pokedex.mimo.dev/api/language/9/"
63 },
64 "name": "Lost Cave"
65 }
66 ],
67 "region": {
68 "name": "kanto",
69 "url": "https://pokedex.mimo.dev/api/region/1/"
70 }
71}