Endpoint: location
GEThttps://pokedex.mimo.dev/api/location/challengers-cave
Request
GETlocation
1fetch("https://pokedex.mimo.dev/api/location/challengers-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": "challengers-cave-1f",
5 "url": "https://pokedex.mimo.dev/api/location-area/640/"
6 },
7 {
8 "name": "challengers-cave-b1f",
9 "url": "https://pokedex.mimo.dev/api/location-area/641/"
10 },
11 {
12 "name": "challengers-cave-b2f",
13 "url": "https://pokedex.mimo.dev/api/location-area/642/"
14 }
15 ],
16 "game_indices": [
17 {
18 "game_index": 59,
19 "generation": {
20 "name": "generation-v",
21 "url": "https://pokedex.mimo.dev/api/generation/5/"
22 }
23 }
24 ],
25 "id": 401,
26 "name": "challengers-cave",
27 "names": [
28 {
29 "language": {
30 "name": "ja-Hrkt",
31 "url": "https://pokedex.mimo.dev/api/language/1/"
32 },
33 "name": "修行の岩屋"
34 },
35 {
36 "language": {
37 "name": "fr",
38 "url": "https://pokedex.mimo.dev/api/language/5/"
39 },
40 "name": "Antre d'Entraînement"
41 },
42 {
43 "language": {
44 "name": "en",
45 "url": "https://pokedex.mimo.dev/api/language/9/"
46 },
47 "name": "Challenger's Cave"
48 }
49 ],
50 "region": {
51 "name": "unova",
52 "url": "https://pokedex.mimo.dev/api/region/5/"
53 }
54}