Licences
Get licences data in JSON format.
Get all licences
GET https://api.dinkumapi.com/v0/licences
Gets all licences.
Get licence by id
GET https://api.dinkumapi.com/v0/licences/{id}
Gets a licence by its id.
Path params
id | The id of the licence. |
Get all licences
GET https://api.dinkumapi.com/v0/licences
[
{
"id": 1,
"name": "Mining",
"description": "Based on Character Mining Levels",
"levels": [
{
"licence_level": 1,
"skill_level": 0,
"cost": 250,
"description": "Allows the holder to buy pickaxes and break rocks and ore drums.",
"unlocked_recipes": []
},
{
"licence_level": 2,
"skill_level": 10,
"cost": 1000,
"description": "Allows the holder to craft a better pickaxe.",
"unlocked_recipes": [
"Copper Pickaxe"
]
},
{
"licence_level": 3,
"skill_level": 20,
"cost": 3000,
"description": "Allows the holder to craft a better pickaxe.",
"unlocked_recipes": [
"Iron Pickaxe"
]
}
],
"image_url": "https://api.dinkumapi.com/images/licences/mining.png"
},
{},
{}
]
Get licence by id
GET https://api.dinkumapi.com/v0/licences/{id}
{
"id": 7,
"name": "Hunting",
"description": "Based on Character Hunting Levels",
"levels": [
{
"licence_level": 1,
"skill_level": 0,
"cost": 250,
"description": "Allows the holder to craft basic weapons.",
"unlocked_recipes": [
"Basic Spear",
"Basic Hammer",
"Wooden Bat"
]
},
{
"licence_level": 2,
"skill_level": 5,
"cost": 1000,
"description": "Allows the holder to craft better weapons.",
"unlocked_recipes": [
"Copper Spear",
"Copper Hammer",
"Croc Teeth Bat"
]
},
{
"licence_level": 3,
"skill_level": 10,
"cost": 3000,
"description": "Allows the holder to craft better weapons.",
"unlocked_recipes": [
"Iron Spear",
"Iron Hammer",
"Flaming Bat"
]
}
],
"image_url": "https://api.dinkumapi.com/images/licences/hunting.png"
}