Endpoint: location

GEThttps://pokedex.mimo.dev/api/location/old-chateau

Request

GETlocation
1fetch("https://pokedex.mimo.dev/api/location/old-chateau")
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": "old-chateau-entrance",
5 "url": "https://pokedex.mimo.dev/api/location-area/126/"
6 },
7 {
8 "name": "old-chateau-dining-room",
9 "url": "https://pokedex.mimo.dev/api/location-area/127/"
10 },
11 {
12 "name": "old-chateau-2f-private-room",
13 "url": "https://pokedex.mimo.dev/api/location-area/128/"
14 },
15 {
16 "name": "old-chateau-2f",
17 "url": "https://pokedex.mimo.dev/api/location-area/129/"
18 },
19 {
20 "name": "old-chateau-2f-leftmost-room",
21 "url": "https://pokedex.mimo.dev/api/location-area/130/"
22 },
23 {
24 "name": "old-chateau-2f-left-room",
25 "url": "https://pokedex.mimo.dev/api/location-area/131/"
26 },
27 {
28 "name": "old-chateau-2f-middle-room",
29 "url": "https://pokedex.mimo.dev/api/location-area/132/"
30 },
31 {
32 "name": "old-chateau-2f-right-room",
33 "url": "https://pokedex.mimo.dev/api/location-area/133/"
34 },
35 {
36 "name": "old-chateau-2f-rightmost-room",
37 "url": "https://pokedex.mimo.dev/api/location-area/134/"
38 }
39 ],
40 "game_indices": [
41 {
42 "game_index": 70,
43 "generation": {
44 "name": "generation-iv",
45 "url": "https://pokedex.mimo.dev/api/generation/4/"
46 }
47 }
48 ],
49 "id": 25,
50 "name": "old-chateau",
51 "names": [
52 {
53 "language": {
54 "name": "fr",
55 "url": "https://pokedex.mimo.dev/api/language/5/"
56 },
57 "name": "Vieux Château"
58 },
59 {
60 "language": {
61 "name": "en",
62 "url": "https://pokedex.mimo.dev/api/language/9/"
63 },
64 "name": "Old Chateau"
65 }
66 ],
67 "region": {
68 "name": "sinnoh",
69 "url": "https://pokedex.mimo.dev/api/region/4/"
70 }
71}