Endpoint: location

GEThttps://pokedex.mimo.dev/api/location/poke-transfer-lab

Request

GETlocation
1fetch("https://pokedex.mimo.dev/api/location/poke-transfer-lab")
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": 60,
6 "generation": {
7 "name": "generation-v",
8 "url": "https://pokedex.mimo.dev/api/generation/5/"
9 }
10 }
11 ],
12 "id": 402,
13 "name": "poke-transfer-lab",
14 "names": [
15 {
16 "language": {
17 "name": "ja-Hrkt",
18 "url": "https://pokedex.mimo.dev/api/language/1/"
19 },
20 "name": "シフトファクトリー"
21 },
22 {
23 "language": {
24 "name": "fr",
25 "url": "https://pokedex.mimo.dev/api/language/5/"
26 },
27 "name": "Laboratoire Fret"
28 },
29 {
30 "language": {
31 "name": "en",
32 "url": "https://pokedex.mimo.dev/api/language/9/"
33 },
34 "name": "Poké Transfer Lab"
35 }
36 ],
37 "region": {
38 "name": "unova",
39 "url": "https://pokedex.mimo.dev/api/region/5/"
40 }
41}