Endpoint: location

GEThttps://pokedex.mimo.dev/api/location/kanto-altering-cave

Request

GETlocation
1fetch("https://pokedex.mimo.dev/api/location/kanto-altering-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": "kanto-altering-cave-a",
5 "url": "https://pokedex.mimo.dev/api/location-area/564/"
6 },
7 {
8 "name": "kanto-altering-cave-b",
9 "url": "https://pokedex.mimo.dev/api/location-area/565/"
10 },
11 {
12 "name": "kanto-altering-cave-c",
13 "url": "https://pokedex.mimo.dev/api/location-area/566/"
14 },
15 {
16 "name": "kanto-altering-cave-d",
17 "url": "https://pokedex.mimo.dev/api/location-area/567/"
18 },
19 {
20 "name": "kanto-altering-cave-e",
21 "url": "https://pokedex.mimo.dev/api/location-area/568/"
22 },
23 {
24 "name": "kanto-altering-cave-f",
25 "url": "https://pokedex.mimo.dev/api/location-area/569/"
26 },
27 {
28 "name": "kanto-altering-cave-g",
29 "url": "https://pokedex.mimo.dev/api/location-area/570/"
30 },
31 {
32 "name": "kanto-altering-cave-h",
33 "url": "https://pokedex.mimo.dev/api/location-area/571/"
34 },
35 {
36 "name": "kanto-altering-cave-i",
37 "url": "https://pokedex.mimo.dev/api/location-area/572/"
38 }
39 ],
40 "game_indices": [],
41 "id": 529,
42 "name": "kanto-altering-cave",
43 "names": [
44 {
45 "language": {
46 "name": "fr",
47 "url": "https://pokedex.mimo.dev/api/language/5/"
48 },
49 "name": "Grotte Métamo"
50 },
51 {
52 "language": {
53 "name": "en",
54 "url": "https://pokedex.mimo.dev/api/language/9/"
55 },
56 "name": "Altering Cave"
57 }
58 ],
59 "region": {
60 "name": "kanto",
61 "url": "https://pokedex.mimo.dev/api/region/1/"
62 }
63}