docs: minimize APi docs by using the method present in #56

This commit is contained in:
Ritesh Ghosh
2024-07-14 00:07:17 +05:30
parent 3e92c9187d
commit cb113cb38a
+26 -8
View File
@@ -152,10 +152,12 @@ The endpoints exposed by the api are listed below with examples that uses the [F
<details> <details>
<summary>Get Anime Home Page</summary> <summary>
### `GET` Anime Home Page ### `GET` Anime Home Page
</summary>
#### Endpoint #### Endpoint
```bash ```bash
@@ -266,10 +268,12 @@ console.log(data);
<details> <details>
<summary>Get Anime About Info</summary> <summary>
### `GET` Anime About Info ### `GET` Anime About Info
</summary>
#### Endpoint #### Endpoint
```sh ```sh
@@ -410,10 +414,12 @@ console.log(data);
<details> <details>
<summary>Get Anime Search Results</summary> <summary>
### `GET` Search Results ### `GET` Search Results
</summary>
#### Endpoint #### Endpoint
```sh ```sh
@@ -513,10 +519,12 @@ console.log(data);
<details> <details>
<summary>Get Anime Search Suggestions</summary> <summary>
### `GET` Search Suggestions ### `GET` Search Suggestions
</summary>
#### Endpoint #### Endpoint
```sh ```sh
@@ -562,10 +570,12 @@ console.log(data);
<details> <details>
<summary>Get Producer Animes</summary> <summary>
### `GET` Producer Animes ### `GET` Producer Animes
</summary>
#### Endpoint #### Endpoint
```sh ```sh
@@ -657,10 +667,12 @@ console.log(data);
<details> <details>
<summary>Get Genre Animes</summary> <summary>
### `GET` Genre Animes ### `GET` Genre Animes
</summary>
#### Endpoint #### Endpoint
```sh ```sh
@@ -736,10 +748,12 @@ console.log(data);
<details> <details>
<summary>Get Category Anime</summary> <summary>
### `GET` Category Anime ### `GET` Category Anime
</summary>
#### Endpoint #### Endpoint
```sh ```sh
@@ -818,10 +832,12 @@ console.log(data);
<details> <details>
<summary>Get Estimated Schedules</summary> <summary>
### `GET` Estimated Schedules ### `GET` Estimated Schedules
</summary>
#### Endpoint #### Endpoint
```sh ```sh
@@ -854,6 +870,8 @@ console.log(data);
time: string, // 24 hours format time: string, // 24 hours format
name: string, name: string,
jname: string, jname: string,
airingTimestamp: number,
secondsUntilAiring: number
}, },
{...} {...}
] ]