Endpoint: location
GEThttps://pokedex.mimo.dev/api/location/snowpoint-temple
Request
GETlocation
1fetch("https://pokedex.mimo.dev/api/location/snowpoint-temple")
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": "snowpoint-temple-1f",
5 "url": "https://pokedex.mimo.dev/api/location-area/107/"
6 },
7 {
8 "name": "snowpoint-temple-b1f",
9 "url": "https://pokedex.mimo.dev/api/location-area/108/"
10 },
11 {
12 "name": "snowpoint-temple-b2f",
13 "url": "https://pokedex.mimo.dev/api/location-area/109/"
14 },
15 {
16 "name": "snowpoint-temple-b3f",
17 "url": "https://pokedex.mimo.dev/api/location-area/110/"
18 },
19 {
20 "name": "snowpoint-temple-b4f",
21 "url": "https://pokedex.mimo.dev/api/location-area/111/"
22 },
23 {
24 "name": "snowpoint-temple-b5f",
25 "url": "https://pokedex.mimo.dev/api/location-area/112/"
26 }
27 ],
28 "game_indices": [
29 {
30 "game_index": 64,
31 "generation": {
32 "name": "generation-iv",
33 "url": "https://pokedex.mimo.dev/api/generation/4/"
34 }
35 }
36 ],
37 "id": 19,
38 "name": "snowpoint-temple",
39 "names": [
40 {
41 "language": {
42 "name": "fr",
43 "url": "https://pokedex.mimo.dev/api/language/5/"
44 },
45 "name": "Temple Frimapic"
46 },
47 {
48 "language": {
49 "name": "en",
50 "url": "https://pokedex.mimo.dev/api/language/9/"
51 },
52 "name": "Snowpoint Temple"
53 }
54 ],
55 "region": {
56 "name": "sinnoh",
57 "url": "https://pokedex.mimo.dev/api/region/4/"
58 }
59}