Endpoint: location
GEThttps://pokedex.mimo.dev/api/location/pokemon-mansion
Request
GETlocation
1fetch("https://pokedex.mimo.dev/api/location/pokemon-mansion")
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": "pokemon-mansion-1f",
5 "url": "https://pokedex.mimo.dev/api/location-area/341/"
6 },
7 {
8 "name": "pokemon-mansion-2f",
9 "url": "https://pokedex.mimo.dev/api/location-area/342/"
10 },
11 {
12 "name": "pokemon-mansion-3f",
13 "url": "https://pokedex.mimo.dev/api/location-area/343/"
14 },
15 {
16 "name": "pokemon-mansion-b1f",
17 "url": "https://pokedex.mimo.dev/api/location-area/344/"
18 }
19 ],
20 "game_indices": [
21 {
22 "game_index": 106,
23 "generation": {
24 "name": "generation-iv",
25 "url": "https://pokedex.mimo.dev/api/generation/4/"
26 }
27 }
28 ],
29 "id": 161,
30 "name": "pokemon-mansion",
31 "names": [
32 {
33 "language": {
34 "name": "fr",
35 "url": "https://pokedex.mimo.dev/api/language/5/"
36 },
37 "name": "Manoir Pokémon"
38 },
39 {
40 "language": {
41 "name": "en",
42 "url": "https://pokedex.mimo.dev/api/language/9/"
43 },
44 "name": "Pokémon Mansion"
45 }
46 ],
47 "region": {
48 "name": "kanto",
49 "url": "https://pokedex.mimo.dev/api/region/1/"
50 }
51}