Endpoint: location

GEThttps://pokedex.mimo.dev/api/location/whirl-islands

Request

GETlocation
1fetch("https://pokedex.mimo.dev/api/location/whirl-islands")
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": "whirl-islands-1f",
5 "url": "https://pokedex.mimo.dev/api/location-area/227/"
6 },
7 {
8 "name": "whirl-islands-b1f",
9 "url": "https://pokedex.mimo.dev/api/location-area/228/"
10 },
11 {
12 "name": "whirl-islands-empty-floor-x",
13 "url": "https://pokedex.mimo.dev/api/location-area/229/"
14 },
15 {
16 "name": "whirl-islands-b2f",
17 "url": "https://pokedex.mimo.dev/api/location-area/230/"
18 },
19 {
20 "name": "whirl-islands-empty-floor-y",
21 "url": "https://pokedex.mimo.dev/api/location-area/231/"
22 },
23 {
24 "name": "whirl-islands-b3f",
25 "url": "https://pokedex.mimo.dev/api/location-area/232/"
26 }
27 ],
28 "game_indices": [
29 {
30 "game_index": 218,
31 "generation": {
32 "name": "generation-iv",
33 "url": "https://pokedex.mimo.dev/api/generation/4/"
34 }
35 }
36 ],
37 "id": 156,
38 "name": "whirl-islands",
39 "names": [
40 {
41 "language": {
42 "name": "fr",
43 "url": "https://pokedex.mimo.dev/api/language/5/"
44 },
45 "name": "Tourb'Iles"
46 },
47 {
48 "language": {
49 "name": "en",
50 "url": "https://pokedex.mimo.dev/api/language/9/"
51 },
52 "name": "Whirl Islands"
53 }
54 ],
55 "region": {
56 "name": "johto",
57 "url": "https://pokedex.mimo.dev/api/region/2/"
58 }
59}