Schedule
Technical details regarding the usage of the schedule function for the hianime provider can be found below. Example code is provided for both JavaScript and Python, along with a response schema.
Route Schema (URL)
https://api.consumet.org/anime/hianime/scheduleQuery Parameters
| Parameter | Type | Description | Required? | Default |
|---|---|---|---|---|
| date | string | The date in YYYY-MM-DD format to get schedule for. | No | "" |
Request Samples
import axios from "axios";
const url = "https://api.consumet.org/anime/hianime/schedule";
const data = async () => {
try {
const { data } = await axios.get(url, { params: { date: "2024-01-15" } });
return data;
} catch (err) {
throw new Error(err.message);
}
};
console.log(data);Response Schema
MIME Type: application/json
{
"scheduledAnimes": [
{
"id": "string",
"title": "string",
"url": "string",
"image": "string",
"releaseDate": "string",
"time": "string"
}
]
}