Endpoint: location

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

Request

GETlocation
1fetch("https://pokedex.mimo.dev/api/location/turnback-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": "turnback-cave-pillar-1",
5 "url": "https://pokedex.mimo.dev/api/location-area/61/"
6 },
7 {
8 "name": "turnback-cave-pillar-2",
9 "url": "https://pokedex.mimo.dev/api/location-area/62/"
10 },
11 {
12 "name": "turnback-cave-pillar-3",
13 "url": "https://pokedex.mimo.dev/api/location-area/63/"
14 },
15 {
16 "name": "turnback-cave-before-pillar-1",
17 "url": "https://pokedex.mimo.dev/api/location-area/64/"
18 },
19 {
20 "name": "turnback-cave-between-pillars-1-and-2",
21 "url": "https://pokedex.mimo.dev/api/location-area/70/"
22 },
23 {
24 "name": "turnback-cave-between-pillars-2-and-3",
25 "url": "https://pokedex.mimo.dev/api/location-area/76/"
26 },
27 {
28 "name": "turnback-cave-after-pillar-3",
29 "url": "https://pokedex.mimo.dev/api/location-area/82/"
30 }
31 ],
32 "game_indices": [
33 {
34 "game_index": 62,
35 "generation": {
36 "name": "generation-iv",
37 "url": "https://pokedex.mimo.dev/api/generation/4/"
38 }
39 }
40 ],
41 "id": 18,
42 "name": "turnback-cave",
43 "names": [
44 {
45 "language": {
46 "name": "fr",
47 "url": "https://pokedex.mimo.dev/api/language/5/"
48 },
49 "name": "Grotte Retour"
50 },
51 {
52 "language": {
53 "name": "en",
54 "url": "https://pokedex.mimo.dev/api/language/9/"
55 },
56 "name": "Turnback Cave"
57 }
58 ],
59 "region": {
60 "name": "sinnoh",
61 "url": "https://pokedex.mimo.dev/api/region/4/"
62 }
63}