Endpoint: location

GEThttps://pokedex.mimo.dev/api/location/unova-route-6

Request

GETlocation
1fetch("https://pokedex.mimo.dev/api/location/unova-route-6")
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": "unova-route-6-area",
5 "url": "https://pokedex.mimo.dev/api/location-area/629/"
6 },
7 {
8 "name": "unova-route-6-weather-institute",
9 "url": "https://pokedex.mimo.dev/api/location-area/776/"
10 }
11 ],
12 "game_indices": [
13 {
14 "game_index": 19,
15 "generation": {
16 "name": "generation-v",
17 "url": "https://pokedex.mimo.dev/api/generation/5/"
18 }
19 },
20 {
21 "game_index": 94,
22 "generation": {
23 "name": "generation-v",
24 "url": "https://pokedex.mimo.dev/api/generation/5/"
25 }
26 }
27 ],
28 "id": 361,
29 "name": "unova-route-6",
30 "names": [
31 {
32 "language": {
33 "name": "ja-Hrkt",
34 "url": "https://pokedex.mimo.dev/api/language/1/"
35 },
36 "name": "6番道路"
37 },
38 {
39 "language": {
40 "name": "fr",
41 "url": "https://pokedex.mimo.dev/api/language/5/"
42 },
43 "name": "Route 6"
44 },
45 {
46 "language": {
47 "name": "en",
48 "url": "https://pokedex.mimo.dev/api/language/9/"
49 },
50 "name": "Route 6"
51 }
52 ],
53 "region": {
54 "name": "unova",
55 "url": "https://pokedex.mimo.dev/api/region/5/"
56 }
57}