Endpoint: location

GEThttps://pokedex.mimo.dev/api/location/lake-verity

Request

GETlocation
1fetch("https://pokedex.mimo.dev/api/location/lake-verity")
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": "lake-verity-before-galactic-intervention",
5 "url": "https://pokedex.mimo.dev/api/location-area/135/"
6 },
7 {
8 "name": "lake-verity-after-galactic-intervention",
9 "url": "https://pokedex.mimo.dev/api/location-area/136/"
10 }
11 ],
12 "game_indices": [
13 {
14 "game_index": 76,
15 "generation": {
16 "name": "generation-iv",
17 "url": "https://pokedex.mimo.dev/api/generation/4/"
18 }
19 }
20 ],
21 "id": 26,
22 "name": "lake-verity",
23 "names": [
24 {
25 "language": {
26 "name": "fr",
27 "url": "https://pokedex.mimo.dev/api/language/5/"
28 },
29 "name": "Lac Vérité"
30 },
31 {
32 "language": {
33 "name": "en",
34 "url": "https://pokedex.mimo.dev/api/language/9/"
35 },
36 "name": "Lake Verity"
37 }
38 ],
39 "region": {
40 "name": "sinnoh",
41 "url": "https://pokedex.mimo.dev/api/region/4/"
42 }
43}