Endpoint: location
GEThttps://pokedex.mimo.dev/api/location/pokemon-festa-16
Request
GETlocation
1fetch("https://pokedex.mimo.dev/api/location/pokemon-festa-16")
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": 3039,
6 "generation": {
7 "name": "generation-iv",
8 "url": "https://pokedex.mimo.dev/api/generation/4/"
9 }
10 }
11 ],
12 "id": 304,
13 "name": "pokemon-festa-16",
14 "names": [
15 {
16 "language": {
17 "name": "fr",
18 "url": "https://pokedex.mimo.dev/api/language/5/"
19 },
20 "name": "Pokémon Festa 16"
21 },
22 {
23 "language": {
24 "name": "en",
25 "url": "https://pokedex.mimo.dev/api/language/9/"
26 },
27 "name": "Pokémon Festa 16"
28 }
29 ],
30 "region": null
31}