Endpoint: location-area

GEThttps://pokedex.mimo.dev/api/location-area/eterna-city-west-gate

Request

GETlocation-area
1fetch("https://pokedex.mimo.dev/api/location-area/eterna-city-west-gate")
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": 788,
5 "location": {
6 "name": "eterna-city",
7 "url": "https://pokedex.mimo.dev/api/location/2/"
8 },
9 "name": "eterna-city-west-gate",
10 "names": [
11 {
12 "language": {
13 "name": "en",
14 "url": "https://pokedex.mimo.dev/api/language/9/"
15 },
16 "name": "Eterna City (west gate)"
17 },
18 {
19 "language": {
20 "name": "fr",
21 "url": "https://pokedex.mimo.dev/api/language/5/"
22 },
23 "name": "Vestigion (porte ouest)"
24 }
25 ],
26 "pokemon_encounters": [
27 {
28 "pokemon": {
29 "name": "togepi",
30 "url": "https://pokedex.mimo.dev/api/pokemon/175/"
31 },
32 "version_details": [
33 {
34 "encounter_details": [
35 {
36 "chance": 100,
37 "condition_values": [
38 {
39 "name": "story-progress-defeat-jupiter",
40 "url": "https://pokedex.mimo.dev/api/encounter-condition-value/51/"
41 }
42 ],
43 "max_level": 1,
44 "method": {
45 "name": "gift-egg",
46 "url": "https://pokedex.mimo.dev/api/encounter-method/19/"
47 },
48 "min_level": 1
49 }
50 ],
51 "max_chance": 100,
52 "version": {
53 "name": "platinum",
54 "url": "https://pokedex.mimo.dev/api/version/14/"
55 }
56 }
57 ]
58 }
59 ]
60}