Recipes
Get recipes data in JSON format. For cooking buff effects, the value
property is measured in seconds.
Get all crafting recipes
GET https://api.dinkumapi.com/v0/recipes/crafting
Gets all crafting recipes.
Query params
name | Search recipes that contains a term in its name. |
category | The category of recipe |
Get crafting recipe by id
GET https://api.dinkumapi.com/v0/recipes/crafting/{id}
Gets a crafting recipe by its id.
Path params
id | The id of the crafting recipe. |
Get all cooking recipes
GET https://api.dinkumapi.com/v0/recipes/cooking
Gets all cooking recipes.
Query params
name | Search recipes that contains a term in its name. |
Get cooking recipe by id
GET https://api.dinkumapi.com/v0/recipes/cooking/{id}
Gets a cooking recipe by its id.
Path params
id | The id of the cooking recipe. |
Get all crafting recipes
GET https://api.dinkumapi.com/v0/recipes/crafting
[
{
"id": 1,
"name": "Animal Trap",
"description": "Catch some stuff.",
"category": "Tools",
"materials": [
{
"name": "Iron Bar",
"amount": 1,
"image_url": "https://api.dinkumapi.com/images/items/iron-bar.png"
},
{
"name": "Hard Wood Plank",
"amount": 1,
"image_url": "https://api.dinkumapi.com/images/items/hard-wood-plank.png"
},
{
"name": "Old Spring",
"amount": 2,
"image_url": "https://api.dinkumapi.com/images/items/old-spring.png"
}
],
"total_produced": 1,
"licence": {
"name": "Trapping",
"level": 1,
"image_url": "https://api.dinkumapi.com/images/licences/trapping.png"
},
"sell_price": 4025,
"image_url": "https://api.dinkumapi.com/images/items/animal-trap.png"
},
{},
{}
]
Get crafting recipe by id
GET https://api.dinkumapi.com/v0/recipes/crafting/{id}
{
"id": 7,
"name": "Copper Hoe",
"description": "Hoe the dirt. Make it all soft and stuff.",
"category": "Tools",
"materials": [
{
"name": "Hoe",
"amount": 1,
"image_url": "https://api.dinkumapi.com/images/items/hoe.png"
},
{
"name": "Copper Bar",
"amount": 2,
"image_url": "https://api.dinkumapi.com/images/items/copper-bar.png"
}
],
"total_produced": 1,
"licence": {
"name": "Farming",
"level": 2,
"image_url": "https://api.dinkumapi.com/images/licences/farming.png"
},
"sell_price": 3000,
"image_url": "https://api.dinkumapi.com/images/items/copper-hoe.png"
}
Get all cooking recipes
GET https://api.dinkumapi.com/v0/recipes/cooking
[
{
"id": 1,
"name": "Bread",
"description": "Cooked Flour",
"effects": [
{
"type": "Health",
"value": 35
},
{
"type": "Stamina",
"value": 25
},
{
"type": "Defence Buff",
"value": 180
}
],
"materials": [
{
"name": "Flour",
"amount": 3,
"image_url": "https://api.dinkumapi.com/images/items/flour.png"
}
],
"sell_price": 6300,
"image_url": "https://api.dinkumapi.com/images/items/bread.png"
},
{},
{}
]
Get cooking recipe by id
GET https://api.dinkumapi.com/v0/recipes/cooking/{id}
{
"id": 7,
"name": "Garden Salad",
"description": "Crunchy and fresh!",
"effects": [
{
"type": "Health",
"value": 20
},
{
"type": "Stamina",
"value": 20
},
{
"type": "Defence Buff",
"value": 120
}
],
"materials": [
{
"name": "Cabbage",
"amount": 1,
"image_url": "https://api.dinkumapi.com/images/items/cabbage.png"
},
{
"name": "Tomato",
"amount": 1,
"image_url": "https://api.dinkumapi.com/images/items/tomato.png"
},
{
"name": "Onion",
"amount": 1,
"image_url": "https://api.dinkumapi.com/images/items/onion.png"
}
],
"sell_price": 3189,
"image_url": "https://api.dinkumapi.com/images/items/garden-salad.png"
}