Endpoint: location
GEThttps://pokedex.mimo.dev/api/location/johto-safari-zone
Request
GETlocation
1fetch("https://pokedex.mimo.dev/api/location/johto-safari-zone")
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": "johto-safari-zone-zone-peak",
5 "url": "https://pokedex.mimo.dev/api/location-area/813/"
6 },
7 {
8 "name": "johto-safari-zone-zone-desert",
9 "url": "https://pokedex.mimo.dev/api/location-area/814/"
10 },
11 {
12 "name": "johto-safari-zone-zone-plains",
13 "url": "https://pokedex.mimo.dev/api/location-area/815/"
14 },
15 {
16 "name": "johto-safari-zone-zone-meadow",
17 "url": "https://pokedex.mimo.dev/api/location-area/816/"
18 },
19 {
20 "name": "johto-safari-zone-zone-forest",
21 "url": "https://pokedex.mimo.dev/api/location-area/817/"
22 },
23 {
24 "name": "johto-safari-zone-zone-swamp",
25 "url": "https://pokedex.mimo.dev/api/location-area/818/"
26 },
27 {
28 "name": "johto-safari-zone-zone-marshland",
29 "url": "https://pokedex.mimo.dev/api/location-area/819/"
30 },
31 {
32 "name": "johto-safari-zone-zone-mountain",
33 "url": "https://pokedex.mimo.dev/api/location-area/820/"
34 },
35 {
36 "name": "johto-safari-zone-zone-rocky-beach",
37 "url": "https://pokedex.mimo.dev/api/location-area/821/"
38 },
39 {
40 "name": "johto-safari-zone-zone-wasteland",
41 "url": "https://pokedex.mimo.dev/api/location-area/822/"
42 },
43 {
44 "name": "johto-safari-zone-zone-savannah",
45 "url": "https://pokedex.mimo.dev/api/location-area/823/"
46 },
47 {
48 "name": "johto-safari-zone-zone-wetland",
49 "url": "https://pokedex.mimo.dev/api/location-area/824/"
50 }
51 ],
52 "game_indices": [],
53 "id": 814,
54 "name": "johto-safari-zone",
55 "names": [
56 {
57 "language": {
58 "name": "en",
59 "url": "https://pokedex.mimo.dev/api/language/9/"
60 },
61 "name": "Johto Safari Zone"
62 },
63 {
64 "language": {
65 "name": "fr",
66 "url": "https://pokedex.mimo.dev/api/language/5/"
67 },
68 "name": "Parc Safari"
69 }
70 ],
71 "region": {
72 "name": "johto",
73 "url": "https://pokedex.mimo.dev/api/region/2/"
74 }
75}