Fish
Get fish data in JSON format.
Get all fish
GET https://api.dinkumapi.com/v0/fish
Gets all fish. Supports filtering by name, time, seasons and habitat.
Query params
name | Search fish that contains a term in its name. |
time | The time of day the fish appear in. |
seasons | The seasons of the year the fish appear in. |
habitats | The habitats the fish appear in. |
Get fish by id
GET https://api.dinkumapi.com/v0/fish/{id}
Gets a fish by its id.
Path params
id | The id of the fish. |
Get all fish
GET https://api.dinkumapi.com/v0/fish
[
{
"id": 1,
"name": "Anchovy",
"description": "So small.",
"habitats": [
"Southern Ocean"
],
"availability": {
"time": [
"Morning",
"Night"
],
"seasons": [
"Autumn",
"Winter"
]
},
"sell_price": 4500,
"image_url": "https://api.dinkumapi.com/images/fish/anchovy.png"
},
{},
{}
]
Get fish by id
GET https://api.dinkumapi.com/v0/fish/{id}
{
"id": 7,
"name": "Black & White Snapper",
"description": "Snap.",
"habitats": [
"Northern Ocean",
"Southern Ocean"
],
"availability": {
"time": [
"Morning",
"Day",
"Night"
],
"seasons": [
"Spring",
"Autumn"
]
},
"sell_price": 1992,
"image_url": "https://api.dinkumapi.com/images/fish/black-and-white-snapper.png"
}