Endpoint: item-category
GEThttps://pokedex.mimo.dev/api/item-category/mulch
Request
GETitem-category
1fetch("https://pokedex.mimo.dev/api/item-category/mulch")
2 .then((res) => res.json())
3 .then((json) => console.log(json))
4 .catch((error) => console.error(error))
Response
response.json
1{
2 "id": 32,
3 "items": [
4 {
5 "name": "growth-mulch",
6 "url": "https://pokedex.mimo.dev/api/item/95/"
7 },
8 {
9 "name": "damp-mulch",
10 "url": "https://pokedex.mimo.dev/api/item/96/"
11 },
12 {
13 "name": "stable-mulch",
14 "url": "https://pokedex.mimo.dev/api/item/97/"
15 },
16 {
17 "name": "gooey-mulch",
18 "url": "https://pokedex.mimo.dev/api/item/98/"
19 },
20 {
21 "name": "rich-mulch",
22 "url": "https://pokedex.mimo.dev/api/item/691/"
23 },
24 {
25 "name": "surprise-mulch",
26 "url": "https://pokedex.mimo.dev/api/item/692/"
27 },
28 {
29 "name": "boost-mulch",
30 "url": "https://pokedex.mimo.dev/api/item/693/"
31 },
32 {
33 "name": "amaze-mulch",
34 "url": "https://pokedex.mimo.dev/api/item/694/"
35 }
36 ],
37 "name": "mulch",
38 "names": [
39 {
40 "language": {
41 "name": "en",
42 "url": "https://pokedex.mimo.dev/api/language/9/"
43 },
44 "name": "Mulch"
45 }
46 ],
47 "pocket": {
48 "name": "misc",
49 "url": "https://pokedex.mimo.dev/api/item-pocket/1/"
50 }
51}