Endpoint: encounter-condition
GEThttps://pokedex.mimo.dev/api/encounter-condition
Request
GETencounter-condition
1fetch("https://pokedex.mimo.dev/api/encounter-condition")
2 .then((res) => res.json())
3 .then((json) => console.log(json))
4 .catch((error) => console.error(error))
Response
response.json
1[
2 {
3 "name": "swarm",
4 "url": "https://pokedex.mimo.dev/api/encounter-condition/1/",
5 "id": "1"
6 },
7 {
8 "name": "time",
9 "url": "https://pokedex.mimo.dev/api/encounter-condition/2/",
10 "id": "2"
11 },
12 {
13 "name": "radar",
14 "url": "https://pokedex.mimo.dev/api/encounter-condition/3/",
15 "id": "3"
16 },
17 {
18 "name": "slot2",
19 "url": "https://pokedex.mimo.dev/api/encounter-condition/4/",
20 "id": "4"
21 },
22 {
23 "name": "radio",
24 "url": "https://pokedex.mimo.dev/api/encounter-condition/5/",
25 "id": "5"
26 },
27 {
28 "name": "season",
29 "url": "https://pokedex.mimo.dev/api/encounter-condition/6/",
30 "id": "6"
31 },
32 {
33 "name": "starter",
34 "url": "https://pokedex.mimo.dev/api/encounter-condition/7/",
35 "id": "7"
36 },
37 {
38 "name": "tv-option",
39 "url": "https://pokedex.mimo.dev/api/encounter-condition/8/",
40 "id": "8"
41 },
42 {
43 "name": "story-progress",
44 "url": "https://pokedex.mimo.dev/api/encounter-condition/9/",
45 "id": "9"
46 },
47 {
48 "name": "other",
49 "url": "https://pokedex.mimo.dev/api/encounter-condition/10/",
50 "id": "10"
51 },
52 {
53 "name": "item",
54 "url": "https://pokedex.mimo.dev/api/encounter-condition/11/",
55 "id": "11"
56 },
57 {
58 "name": "weekday",
59 "url": "https://pokedex.mimo.dev/api/encounter-condition/12/",
60 "id": "12"
61 },
62 {
63 "name": "first-party-pokemon",
64 "url": "https://pokedex.mimo.dev/api/encounter-condition/13/",
65 "id": "13"
66 }
67]