Bugs
Get bugs data in JSON format.
Get all bugs
GET https://api.dinkumapi.com/v0/bugs
Gets all bugs. Supports filtering by name, time, seasons and habitat.
Query params
name | Search bugs that contains a term in its name. |
time | The time of day the bugs appear in. |
seasons | The seasons of the year the bugs appear in. |
habitats | The habitats the bugs appear in. |
Get bug by id
GET https://api.dinkumapi.com/v0/bugs/{id}
Gets a bug by its id.
Path params
id | The id of the bug. |
Get all bugs
GET https://api.dinkumapi.com/v0/bugs
[
{
"id": 1,
"name": "Bee",
"description": "A little honey maker. Where's the queen?",
"habitats": [
"Pine Forests",
"Plains"
],
"availability": {
"time": [
"Day"
],
"seasons": [
"Summer",
"Spring"
]
},
"sell_price": 680,
"image_url": "https://api.dinkumapi.com/images/bugs/bee.png"
},
{},
{}
]
Get bug by id
GET https://api.dinkumapi.com/v0/bugs/{id}
{
"id": 7,
"name": "Cockroach",
"description": "Yuck.",
"habitats": [
"Everywhere"
],
"availability": {
"time": [
"Night"
],
"seasons": [
"Summer",
"Spring",
"Autumn",
"Winter"
]
},
"sell_price": 154,
"image_url": "https://api.dinkumapi.com/images/bugs/cockroach.png"
}