Endpoint: location

GEThttps://pokedex.mimo.dev/api/location/mystery-zone

Request

GETlocation
1fetch("https://pokedex.mimo.dev/api/location/mystery-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 "game_indices": [
4 {
5 "game_index": 2012,
6 "generation": {
7 "name": "generation-iv",
8 "url": "https://pokedex.mimo.dev/api/generation/4/"
9 }
10 },
11 {
12 "game_index": 2,
13 "generation": {
14 "name": "generation-vi",
15 "url": "https://pokedex.mimo.dev/api/generation/6/"
16 }
17 },
18 {
19 "game_index": 2,
20 "generation": {
21 "name": "generation-vii",
22 "url": "https://pokedex.mimo.dev/api/generation/7/"
23 }
24 }
25 ],
26 "id": 264,
27 "name": "mystery-zone",
28 "names": [
29 {
30 "language": {
31 "name": "fr",
32 "url": "https://pokedex.mimo.dev/api/language/5/"
33 },
34 "name": "Endroit mystér."
35 },
36 {
37 "language": {
38 "name": "en",
39 "url": "https://pokedex.mimo.dev/api/language/9/"
40 },
41 "name": "Mystery Zone"
42 }
43 ],
44 "region": null
45}