Endpoint: location

GEThttps://pokedex.mimo.dev/api/location/bell-tower

Request

GETlocation
1fetch("https://pokedex.mimo.dev/api/location/bell-tower")
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": "bell-tower-2f",
5 "url": "https://pokedex.mimo.dev/api/location-area/214/"
6 },
7 {
8 "name": "bell-tower-3f",
9 "url": "https://pokedex.mimo.dev/api/location-area/215/"
10 },
11 {
12 "name": "bell-tower-4f",
13 "url": "https://pokedex.mimo.dev/api/location-area/216/"
14 },
15 {
16 "name": "bell-tower-5f",
17 "url": "https://pokedex.mimo.dev/api/location-area/217/"
18 },
19 {
20 "name": "bell-tower-6f",
21 "url": "https://pokedex.mimo.dev/api/location-area/218/"
22 },
23 {
24 "name": "bell-tower-7f",
25 "url": "https://pokedex.mimo.dev/api/location-area/219/"
26 },
27 {
28 "name": "bell-tower-8f",
29 "url": "https://pokedex.mimo.dev/api/location-area/220/"
30 },
31 {
32 "name": "bell-tower-9f",
33 "url": "https://pokedex.mimo.dev/api/location-area/221/"
34 },
35 {
36 "name": "bell-tower-10f",
37 "url": "https://pokedex.mimo.dev/api/location-area/268/"
38 },
39 {
40 "name": "bell-tower-roof",
41 "url": "https://pokedex.mimo.dev/api/location-area/793/"
42 },
43 {
44 "name": "bell-tower-1f",
45 "url": "https://pokedex.mimo.dev/api/location-area/805/"
46 }
47 ],
48 "game_indices": [
49 {
50 "game_index": 205,
51 "generation": {
52 "name": "generation-iv",
53 "url": "https://pokedex.mimo.dev/api/generation/4/"
54 }
55 }
56 ],
57 "id": 139,
58 "name": "bell-tower",
59 "names": [
60 {
61 "language": {
62 "name": "fr",
63 "url": "https://pokedex.mimo.dev/api/language/5/"
64 },
65 "name": "Tour Carillon"
66 },
67 {
68 "language": {
69 "name": "en",
70 "url": "https://pokedex.mimo.dev/api/language/9/"
71 },
72 "name": "Bell Tower"
73 }
74 ],
75 "region": {
76 "name": "johto",
77 "url": "https://pokedex.mimo.dev/api/region/2/"
78 }
79}