Endpoint: location
GEThttps://pokedex.mimo.dev/api/location/cliff-edge-gate
Request
GETlocation
1fetch("https://pokedex.mimo.dev/api/location/cliff-edge-gate")
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": 234,
6 "generation": {
7 "name": "generation-iv",
8 "url": "https://pokedex.mimo.dev/api/generation/4/"
9 }
10 }
11 ],
12 "id": 250,
13 "name": "cliff-edge-gate",
14 "names": [
15 {
16 "language": {
17 "name": "fr",
18 "url": "https://pokedex.mimo.dev/api/language/5/"
19 },
20 "name": "Portail Falaise"
21 },
22 {
23 "language": {
24 "name": "en",
25 "url": "https://pokedex.mimo.dev/api/language/9/"
26 },
27 "name": "Cliff Edge Gate"
28 }
29 ],
30 "region": {
31 "name": "johto",
32 "url": "https://pokedex.mimo.dev/api/region/2/"
33 }
34}