Endpoint: location

GEThttps://pokedex.mimo.dev/api/location/johto-lighthouse

Request

GETlocation
1fetch("https://pokedex.mimo.dev/api/location/johto-lighthouse")
2 .then((res) => res.json())
3 .then((json) => console.log(json))
4 .catch((error) => console.error(error))

Response

response.json
1{
2 "areas": [],
3 "game_indices": [
4 {
5 "game_index": 212,
6 "generation": {
7 "name": "generation-iv",
8 "url": "https://pokedex.mimo.dev/api/generation/4/"
9 }
10 }
11 ],
12 "id": 236,
13 "name": "johto-lighthouse",
14 "names": [
15 {
16 "language": {
17 "name": "fr",
18 "url": "https://pokedex.mimo.dev/api/language/5/"
19 },
20 "name": "Phare"
21 },
22 {
23 "language": {
24 "name": "en",
25 "url": "https://pokedex.mimo.dev/api/language/9/"
26 },
27 "name": "Lighthouse"
28 }
29 ],
30 "region": {
31 "name": "johto",
32 "url": "https://pokedex.mimo.dev/api/region/2/"
33 }
34}