docs(getNextEpisodeSchedule): add docs for /:animeId/next-episode-schedule endpoint
This commit is contained in:
@@ -82,6 +82,7 @@
|
|||||||
- [GET Category Animes](#get-category-animes)
|
- [GET Category Animes](#get-category-animes)
|
||||||
- [GET Estimated Schedules](#get-estimated-schedules)
|
- [GET Estimated Schedules](#get-estimated-schedules)
|
||||||
- [GET Anime Episodes](#get-anime-episodes)
|
- [GET Anime Episodes](#get-anime-episodes)
|
||||||
|
- [GET Anime Next Episode Schedule](#get-anime-next-episode-schedule)
|
||||||
- [GET Anime Episode Servers](#get-anime-episode-servers)
|
- [GET Anime Episode Servers](#get-anime-episode-servers)
|
||||||
- [GET Anime Episode Streaming Links](#get-anime-episode-streaming-links)
|
- [GET Anime Episode Streaming Links](#get-anime-episode-streaming-links)
|
||||||
- [Development](#development)
|
- [Development](#development)
|
||||||
@@ -1146,6 +1147,53 @@ console.log(data);
|
|||||||
|
|
||||||
<summary>
|
<summary>
|
||||||
|
|
||||||
|
### `GET` Anime Next Episode Schedule
|
||||||
|
|
||||||
|
</summary>
|
||||||
|
|
||||||
|
#### Endpoint
|
||||||
|
|
||||||
|
```sh
|
||||||
|
/api/v2/hianime/anime/{animeId}/next-episode-schedule
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Path Parameters
|
||||||
|
|
||||||
|
| Parameter | Type | Description | Required? | Default |
|
||||||
|
| :-------: | :----: | :------------------: | :-------: | :-----: |
|
||||||
|
| `animeId` | string | The unique anime id. | Yes | -- |
|
||||||
|
|
||||||
|
#### Request Sample
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
const resp = await fetch(
|
||||||
|
"/api/v2/hianime/anime/steinsgate-3/next-episode-schedule"
|
||||||
|
);
|
||||||
|
const data = await resp.json();
|
||||||
|
console.log(data);
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Response Schema
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
{
|
||||||
|
success: true,
|
||||||
|
data: {
|
||||||
|
airingISOTimestamp: string | null,
|
||||||
|
airingTimestamp: number | null,
|
||||||
|
secondsUntilAiring: number | null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
[🔼 Back to Top](#table-of-contents)
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
|
||||||
|
<summary>
|
||||||
|
|
||||||
### `GET` Anime Episode Servers
|
### `GET` Anime Episode Servers
|
||||||
|
|
||||||
</summary>
|
</summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user