Endpoint: location
GEThttps://pokedex.mimo.dev/api/location/relic-passage
Request
GETlocation
1fetch("https://pokedex.mimo.dev/api/location/relic-passage")
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": "relic-passage-castelia-sewers-entrance",
5 "url": "https://pokedex.mimo.dev/api/location-area/692/"
6 },
7 {
8 "name": "relic-passage-relic-castle-entrance",
9 "url": "https://pokedex.mimo.dev/api/location-area/693/"
10 },
11 {
12 "name": "relic-passage-pwt-entrance",
13 "url": "https://pokedex.mimo.dev/api/location-area/694/"
14 }
15 ],
16 "game_indices": [
17 {
18 "game_index": 136,
19 "generation": {
20 "name": "generation-v",
21 "url": "https://pokedex.mimo.dev/api/generation/5/"
22 }
23 }
24 ],
25 "id": 550,
26 "name": "relic-passage",
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": "Chemin Enfoui"
41 },
42 {
43 "language": {
44 "name": "en",
45 "url": "https://pokedex.mimo.dev/api/language/9/"
46 },
47 "name": "Relic Passage"
48 }
49 ],
50 "region": {
51 "name": "unova",
52 "url": "https://pokedex.mimo.dev/api/region/5/"
53 }
54}