Endpoint: location
GEThttps://pokedex.mimo.dev/api/location/roaming-johto
Request
GETlocation
1fetch("https://pokedex.mimo.dev/api/location/roaming-johto")
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": "roaming-johto-area",
5 "url": "https://pokedex.mimo.dev/api/location-area/795/"
6 }
7 ],
8 "game_indices": [],
9 "id": 800,
10 "name": "roaming-johto",
11 "names": [
12 {
13 "language": {
14 "name": "en",
15 "url": "https://pokedex.mimo.dev/api/language/9/"
16 },
17 "name": "Roaming Johto"
18 },
19 {
20 "language": {
21 "name": "fr",
22 "url": "https://pokedex.mimo.dev/api/language/5/"
23 },
24 "name": "Sillonnant Johto"
25 }
26 ],
27 "region": {
28 "name": "johto",
29 "url": "https://pokedex.mimo.dev/api/region/2/"
30 }
31}