Endpoint: location

GEThttps://pokedex.mimo.dev/api/location/sinnoh-victory-road

Request

GETlocation
1fetch("https://pokedex.mimo.dev/api/location/sinnoh-victory-road")
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": "sinnoh-victory-road-1f",
5 "url": "https://pokedex.mimo.dev/api/location-area/48/"
6 },
7 {
8 "name": "sinnoh-victory-road-2f",
9 "url": "https://pokedex.mimo.dev/api/location-area/49/"
10 },
11 {
12 "name": "sinnoh-victory-road-b1f",
13 "url": "https://pokedex.mimo.dev/api/location-area/50/"
14 },
15 {
16 "name": "sinnoh-victory-road-inside-b1f",
17 "url": "https://pokedex.mimo.dev/api/location-area/51/"
18 },
19 {
20 "name": "sinnoh-victory-road-inside",
21 "url": "https://pokedex.mimo.dev/api/location-area/52/"
22 },
23 {
24 "name": "sinnoh-victory-road-inside-exit",
25 "url": "https://pokedex.mimo.dev/api/location-area/53/"
26 }
27 ],
28 "game_indices": [
29 {
30 "game_index": 54,
31 "generation": {
32 "name": "generation-iv",
33 "url": "https://pokedex.mimo.dev/api/generation/4/"
34 }
35 }
36 ],
37 "id": 13,
38 "name": "sinnoh-victory-road",
39 "names": [
40 {
41 "language": {
42 "name": "fr",
43 "url": "https://pokedex.mimo.dev/api/language/5/"
44 },
45 "name": "Route Victoire"
46 },
47 {
48 "language": {
49 "name": "en",
50 "url": "https://pokedex.mimo.dev/api/language/9/"
51 },
52 "name": "Victory Road"
53 }
54 ],
55 "region": {
56 "name": "sinnoh",
57 "url": "https://pokedex.mimo.dev/api/region/4/"
58 }
59}