Endpoint: location-area
GEThttps://pokedex.mimo.dev/api/location-area/hoenn-battle-frontier-area
Request
GETlocation-area
1fetch("https://pokedex.mimo.dev/api/location-area/hoenn-battle-frontier-area")
2 .then((res) => res.json())
3 .then((json) => console.log(json))
4 .catch((error) => console.error(error))
Response
response.json
1{
2 "encounter_method_rates": [],
3 "game_index": 0,
4 "id": 809,
5 "location": {
6 "name": "hoenn-battle-frontier",
7 "url": "https://pokedex.mimo.dev/api/location/813/"
8 },
9 "name": "hoenn-battle-frontier-area",
10 "names": [
11 {
12 "language": {
13 "name": "en",
14 "url": "https://pokedex.mimo.dev/api/language/9/"
15 },
16 "name": "Hoenn Battle Frontier"
17 },
18 {
19 "language": {
20 "name": "fr",
21 "url": "https://pokedex.mimo.dev/api/language/5/"
22 },
23 "name": "Zone de Combat"
24 }
25 ],
26 "pokemon_encounters": [
27 {
28 "pokemon": {
29 "name": "sudowoodo",
30 "url": "https://pokedex.mimo.dev/api/pokemon/185/"
31 },
32 "version_details": [
33 {
34 "encounter_details": [
35 {
36 "chance": 100,
37 "condition_values": [],
38 "max_level": 40,
39 "method": {
40 "name": "wailmer-pail",
41 "url": "https://pokedex.mimo.dev/api/encounter-method/26/"
42 },
43 "min_level": 40
44 }
45 ],
46 "max_chance": 100,
47 "version": {
48 "name": "emerald",
49 "url": "https://pokedex.mimo.dev/api/version/9/"
50 }
51 }
52 ]
53 }
54 ]
55}