gh repo clone nicolo-rancan/minecraft-items-api
const ... = await fetch("baseurl/api/items");
{
"generated": 1620803566367,
"data": [
{
"name": "Air",
"image": "https://minecraftitemids.com/item/32/stone.png",
"url": "https://minecraftitemids.com/item/air",
"id": "minecraft:air",
"legacy_id": "N/A",
"numerical_id": "N/A"
},
.
.
.
]
}
const ... = await fetch("baseurl/api/items/itemname");
{
"description": "Stone, not to be confused with cobblestone, can only be obtained when a stoneblock is broken with a silk touch pickaxe. It is required for many redstone items such as the comparator, and decorative items like stonebricks.",
"properties": [
{
"key": "item_id",
"value": "minecraft:stone"
},
.
.
.
]
}
const ... = await fetch("baseurl/api/update");