Endpoint: item-category

GEThttps://pokedex.mimo.dev/api/item-category/choice

Request

GETitem-category
1fetch("https://pokedex.mimo.dev/api/item-category/choice")
2 .then((res) => res.json())
3 .then((json) => console.log(json))
4 .catch((error) => console.error(error))

Response

response.json
1{
2 "id": 13,
3 "items": [
4 {
5 "name": "choice-band",
6 "url": "https://pokedex.mimo.dev/api/item/197/"
7 },
8 {
9 "name": "choice-scarf",
10 "url": "https://pokedex.mimo.dev/api/item/264/"
11 },
12 {
13 "name": "choice-specs",
14 "url": "https://pokedex.mimo.dev/api/item/274/"
15 }
16 ],
17 "name": "choice",
18 "names": [
19 {
20 "language": {
21 "name": "en",
22 "url": "https://pokedex.mimo.dev/api/language/9/"
23 },
24 "name": "Choice"
25 }
26 ],
27 "pocket": {
28 "name": "misc",
29 "url": "https://pokedex.mimo.dev/api/item-pocket/1/"
30 }
31}