Consumables

Get consumables data in JSON format. For buff effects, the value property is measured in seconds.

Get all consumables

Query params

categoryThe category of consumable

Get consumable by id

Path params

idThe id of the consumable.

Get all consumables

GET https://api.dinkumapi.com/v0/consumables

      
        [
  {
    "id": 1,
    "name": "Apple",
    "description": "One a day.",
    "category": "Raw",
    "effects": [
      {
        "type": "Health",
        "value": 5
      }
    ],
    "sell_price": 107,
    "image_url": "https://api.dinkumapi.com/images/items/apple.png"
  },
  {},
  {}
]
      
    

Get consumable by id

GET https://api.dinkumapi.com/v0/consumables/{id}

      
        {
  "id": 7,
  "name": "Croco Meat",
  "description": "Not so snappy now, eh?",
  "category": "Raw",
  "effects": [],
  "sell_price": 625,
  "image_url": "https://api.dinkumapi.com/images/items/croco-meat.png"
}