Endpoint: location

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

Request

GETlocation
1fetch("https://pokedex.mimo.dev/api/location/lost-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": "lost-tower-1f",
5 "url": "https://pokedex.mimo.dev/api/location-area/152/"
6 },
7 {
8 "name": "lost-tower-2f",
9 "url": "https://pokedex.mimo.dev/api/location-area/153/"
10 },
11 {
12 "name": "lost-tower-3f",
13 "url": "https://pokedex.mimo.dev/api/location-area/154/"
14 },
15 {
16 "name": "lost-tower-4f",
17 "url": "https://pokedex.mimo.dev/api/location-area/155/"
18 },
19 {
20 "name": "lost-tower-5f",
21 "url": "https://pokedex.mimo.dev/api/location-area/156/"
22 }
23 ],
24 "game_indices": [],
25 "id": 40,
26 "name": "lost-tower",
27 "names": [
28 {
29 "language": {
30 "name": "fr",
31 "url": "https://pokedex.mimo.dev/api/language/5/"
32 },
33 "name": "Tour Perdue"
34 },
35 {
36 "language": {
37 "name": "en",
38 "url": "https://pokedex.mimo.dev/api/language/9/"
39 },
40 "name": "Lost Tower"
41 }
42 ],
43 "region": {
44 "name": "sinnoh",
45 "url": "https://pokedex.mimo.dev/api/region/4/"
46 }
47}