mirror of
https://github.com/MinazukiAmane/Nganime-Docs.git
synced 2025-03-15 08:55:55 +08:00
all anime list
This commit is contained in:
parent
4217aa23ff
commit
de8f29832d
5
pages/rest-api/Anime/enime/_meta.json
Normal file
5
pages/rest-api/Anime/enime/_meta.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"search": "Search",
|
||||
"get-anime-info": "Get Anime Info",
|
||||
"get-anime-episode-streaming-links": "Get Anime Episode Streaming Links"
|
||||
}
|
112
pages/rest-api/Anime/enime/get-anime-episode-streaming-links.mdx
Normal file
112
pages/rest-api/Anime/enime/get-anime-episode-streaming-links.mdx
Normal file
@ -0,0 +1,112 @@
|
||||
---
|
||||
title: enime | Streaming Links
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Get Anime Episode Streaming Links
|
||||
|
||||
Technical details regarding the usage of the get anime streaming links function for the enime provider can be found below. Example code is provided for both JavaScript and Python, along with a response schema.
|
||||
|
||||
## Route Schema (URL)
|
||||
|
||||
```
|
||||
https://api.nganime.my.id/anime/enime/watch?episodeId={episodeId}&server={serverName}
|
||||
```
|
||||
|
||||
## Query Parameters
|
||||
|
||||
{/* TODO: FILL IN THE AVALIBLE SERVERS */}
|
||||
| Parameter | Type | Description | Required? | Default |
|
||||
| :-------: | :---------------------------------------------: | ----------------------------------------------------------------- | :-------: | :---------: |
|
||||
| query | string | The search query; i.e. the title of the item you are looking for. | Yes | `""` |
|
||||
| server | Enum: `""` | The page number of results to return. | No | `"gogocdn"` |
|
||||
|
||||
## Request Samples
|
||||
|
||||
<Tabs items={["JavaScript", "Python"]}>
|
||||
<Tab>
|
||||
<>
|
||||
```js
|
||||
import axios from "axios";
|
||||
|
||||
/*
|
||||
Using the example episode ID of 'cl6opep533728801rtgam010jha',
|
||||
explicitly defining default server for demostrative purposes.
|
||||
*/
|
||||
const url = "https://api.nganime.my.id/anime/enime/watch?episodeId=cl6opep533728801rtgam010jha";
|
||||
const data = async () => {
|
||||
try {
|
||||
const { data } = await axios.get(url, { params: {
|
||||
id: "cl6opep533728801rtgam010jha",
|
||||
server: "gogocdn"
|
||||
}});
|
||||
return data;
|
||||
} catch (err) {
|
||||
throw new Error(err.message);
|
||||
}
|
||||
};
|
||||
|
||||
console.log(data);
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
<Tab>
|
||||
<>
|
||||
```python
|
||||
import requests
|
||||
|
||||
"""
|
||||
Using the example episode ID of 'cl6opep533728801rtgam010jha',
|
||||
explicitly defining default server for demostrative purposes.
|
||||
"""
|
||||
url = "https://api.nganime.my.id/anime/enime/watch?episodeId=cl6opep533728801rtgam010jha"
|
||||
response = requests.get(url, params={
|
||||
"episodeId": "cl6opep533728801rtgam010jha",
|
||||
"server": "gogocdn"
|
||||
})
|
||||
data = response.json()
|
||||
|
||||
print(data)
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Response Schema
|
||||
|
||||
<Tabs items={["200 OK", "404 Not Found", "500 Internal Server Error"]}>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
{
|
||||
"headers": {
|
||||
"Referer": "string",
|
||||
"watchsb": "string", // or null, since only provided with server being equal to "streamsb".
|
||||
"User-Agent": "string" // or null
|
||||
},
|
||||
"sources": [
|
||||
{
|
||||
"url": "string",
|
||||
"quality": "string",
|
||||
"isM3U8": true
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
113
pages/rest-api/Anime/enime/get-anime-info.mdx
Normal file
113
pages/rest-api/Anime/enime/get-anime-info.mdx
Normal file
@ -0,0 +1,113 @@
|
||||
---
|
||||
title: enime | Anime Info
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Get Anime Info
|
||||
|
||||
Technical details regarding the usage of the get anime info function for the enime provider can be found below. Example code is provided for both JavaScript and Python, along with a response schema.
|
||||
|
||||
## Route Schema (URL)
|
||||
|
||||
```
|
||||
https://api.nganime.my.id/anime/enime/info?id={id}
|
||||
```
|
||||
|
||||
## Query Parameters
|
||||
|
||||
| Parameter | Type | Description | Required? | Default |
|
||||
| :-------: | :----: | --------------------------------------------------------------------------------------------------- | :-------: | :-----: |
|
||||
| id | string | The enime ID of the anime; i.e. provided by searching for said anime and selecting the correct one. | Yes | |
|
||||
|
||||
## Request Samples
|
||||
|
||||
<Tabs items={["JavaScript", "Python"]}>
|
||||
<Tab>
|
||||
<>
|
||||
```js
|
||||
import axios from "axios";
|
||||
|
||||
// Using the example ID of "cl6og7q9y0085aclu9u9z7npw".
|
||||
const url = "https://api.nganime.my.id/anime/enime/info?id=cl6og7q9y0085aclu9u9z7npw";
|
||||
const data = async () => {
|
||||
try {
|
||||
const { data } = await axios.get(url, {
|
||||
params: {
|
||||
id: "cl6og7q9y0085aclu9u9z7npw"
|
||||
}
|
||||
});
|
||||
return data;
|
||||
} catch (err) {
|
||||
throw new Error(err.message);
|
||||
}
|
||||
};
|
||||
|
||||
console.log(data);
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
<Tab>
|
||||
<>
|
||||
```python
|
||||
import requests
|
||||
|
||||
# Using the example ID of "cl6og7q9y0085aclu9u9z7npw".
|
||||
url = "https://api.nganime.my.id/anime/enime/info?id=cl6og7q9y0085aclu9u9z7npw"
|
||||
response = requests.get(url, params={
|
||||
"id": "cl6og7q9y0085aclu9u9z7npw"
|
||||
})
|
||||
data = response.json()
|
||||
|
||||
print(data)
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Response Schema
|
||||
|
||||
<Tabs items={["200 OK", "404 Not Found", "500 Internal Server Error"]}>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
{
|
||||
"id": "string",
|
||||
"title": "string",
|
||||
"url": "string",
|
||||
"image": "string",
|
||||
"releaseDate": "string", // or null
|
||||
"description": "string", // or null
|
||||
"genres": [
|
||||
"string"
|
||||
],
|
||||
"subOrDub": "sub",
|
||||
"type": "string", // or null
|
||||
"status": "Ongoing",
|
||||
"otherName": "string", // or null
|
||||
"totalEpisodes": 0,
|
||||
"episodes": [
|
||||
{
|
||||
"id": "string",
|
||||
"number": 0,
|
||||
"url": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
91
pages/rest-api/Anime/enime/search.mdx
Normal file
91
pages/rest-api/Anime/enime/search.mdx
Normal file
@ -0,0 +1,91 @@
|
||||
---
|
||||
title: enime | Search
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Search
|
||||
|
||||
Technical details regarding the usage of the search function for the enime provider can be found below. Example code is provided for both JavaScript and Python, along with a response schema.
|
||||
|
||||
## Route Schema (URL)
|
||||
|
||||
```
|
||||
https://api.nganime.my.id/anime/enime/{query}?page={number}
|
||||
```
|
||||
|
||||
## Path Parameters
|
||||
|
||||
| Parameter | Type | Description | Required? | Default |
|
||||
| :-------: | :----: | ----------------------------------------------------------------- | :-------: | :-----: |
|
||||
| query | string | The search query; i.e. the title of the item you are looking for. | Yes | `""` |
|
||||
|
||||
## Query Parameters
|
||||
|
||||
| Parameter | Type | Description | Required? | Default |
|
||||
| :-------: | :-----: | ------------------------------------- | :-------: | :-----: |
|
||||
| page | integer | The page number of results to return. | No | `1` |
|
||||
|
||||
## Request Samples
|
||||
|
||||
<Tabs items={["JavaScript", "Python"]}>
|
||||
<Tab>
|
||||
<>
|
||||
```js
|
||||
import axios from "axios";
|
||||
|
||||
// Using the example query "demon", and looking at the 2nd page of results.
|
||||
const url = "https://api.nganime.my.id/anime/enime/demon?page=2";
|
||||
const data = async () => {
|
||||
try {
|
||||
const { data } = await axios.get(url, { params: { page: 2 } });
|
||||
return data;
|
||||
} catch (err) {
|
||||
throw new Error(err.message);
|
||||
}
|
||||
};
|
||||
|
||||
console.log(data);
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
<Tab>
|
||||
<>
|
||||
```python
|
||||
import requests
|
||||
|
||||
# Using the example query "demon", and looking at the 2nd page of results.
|
||||
url = "https://api.nganime.my.id/anime/enime/demon"
|
||||
response = requests.get(url, params={"page": 2})
|
||||
data = response.json()
|
||||
|
||||
print(data)
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Response Schema
|
||||
|
||||
<Tabs items={["200 OK"]}>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
{
|
||||
"currentPage": 0,
|
||||
"hasNextPage": true,
|
||||
"results": [
|
||||
{
|
||||
"id": "string",
|
||||
"title": "string",
|
||||
"image": "string",
|
||||
"releaseDate": "string", // or null
|
||||
"subOrDub": "sub" // or "dub"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
0
pages/rest-api/Anime/gogoanime/_meta.json
Normal file
0
pages/rest-api/Anime/gogoanime/_meta.json
Normal file
@ -0,0 +1,90 @@
|
||||
---
|
||||
title: GogoAnime | Available Servers
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Get Anime Episode Available Servers
|
||||
|
||||
Technical details regarding the usage of the get available servers function for the GogoAnime provider can be found below. Example code is provided for both JavaScript and Python, along with a response schema.
|
||||
|
||||
## Route Schema (URL)
|
||||
|
||||
```
|
||||
https://api.nganime.my.id/anime/gogoanime/servers/{episodeId}
|
||||
```
|
||||
|
||||
## Path Parameters
|
||||
|
||||
| Parameter | Type | Description | Required? | Default |
|
||||
| :-------: | :----: | ----------------------------------------------------------------- | :-------: | :-----: |
|
||||
| query | string | The search query; i.e. the title of the item you are looking for. | Yes | `""` |
|
||||
|
||||
## Request Samples
|
||||
|
||||
<Tabs items={["JavaScript", "Python"]}>
|
||||
<Tab>
|
||||
<>
|
||||
```js
|
||||
import axios from "axios";
|
||||
|
||||
// Using the example episode ID of 'spy-x-family-episode-1'.
|
||||
const url = "https://api.nganime.my.id/anime/gogoanime/servers/spy-x-family-episode-1";
|
||||
const data = async () => {
|
||||
try {
|
||||
const { data } = await axios.get(url);
|
||||
return data;
|
||||
} catch (err) {
|
||||
throw new Error(err.message);
|
||||
}
|
||||
};
|
||||
|
||||
console.log(data);
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
<Tab>
|
||||
<>
|
||||
```python
|
||||
import requests
|
||||
|
||||
# Using the example episode ID of 'spy-x-family-episode-1'.
|
||||
url = "https://api.nganime.my.id/anime/gogoanime/servers/spy-x-family-episode-1"
|
||||
response = requests.get(url)
|
||||
data = response.json()
|
||||
|
||||
print(data)
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Response Schema
|
||||
|
||||
<Tabs items={["200 OK", "404 Not Found", "500 Internal Server Error"]}>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
[
|
||||
{
|
||||
"name": "string",
|
||||
"url": "string"
|
||||
}
|
||||
]
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
@ -0,0 +1,110 @@
|
||||
---
|
||||
title: GogoAnime | Streaming Links
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Get Anime Episode Streaming Links
|
||||
|
||||
Technical details regarding the usage of the get anime streaming links function for the GogoAnime provider can be found below. Example code is provided for both JavaScript and Python, along with a response schema.
|
||||
|
||||
## Route Schema (URL)
|
||||
|
||||
```
|
||||
https://api.nganime.my.id/anime/gogoanime/watch/{episodeId}?server={serverName}
|
||||
```
|
||||
|
||||
## Path Parameters
|
||||
|
||||
| Parameter | Type | Description | Required? | Default |
|
||||
| :-------: | :----: | ----------------------------------------------------------------- | :-------: | :-----: |
|
||||
| query | string | The search query; i.e. the title of the item you are looking for. | Yes | `""` |
|
||||
|
||||
## Query Parameters
|
||||
|
||||
| Parameter | Type | Description | Required? | Default |
|
||||
| :-------: | :---------------------------------------------: | ------------------------------------- | :-------: | :---------: |
|
||||
| server | Enum: `"gogocdn"` `"streamsb"` `"vidstreaming"` | The page number of results to return. | No | `"gogocdn"` |
|
||||
|
||||
## Request Samples
|
||||
|
||||
<Tabs items={["JavaScript", "Python"]}>
|
||||
<Tab>
|
||||
<>
|
||||
```js
|
||||
import axios from "axios";
|
||||
|
||||
/*
|
||||
Using the example episode ID of 'spy-x-family-episode-1',
|
||||
explicitly defining default server for demostrative purposes.
|
||||
*/
|
||||
const url = "https://api.nganime.my.id/anime/gogoanime/watch/spy-x-family-episode-1";
|
||||
const data = async () => {
|
||||
try {
|
||||
const { data } = await axios.get(url, { params: { server: "gogocdn" } });
|
||||
return data;
|
||||
} catch (err) {
|
||||
throw new Error(err.message);
|
||||
}
|
||||
};
|
||||
|
||||
console.log(data);
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
<Tab>
|
||||
<>
|
||||
```python
|
||||
import requests
|
||||
|
||||
"""
|
||||
Using the example episode ID of 'spy-x-family-episode-1',
|
||||
explicitly defining default server for demostrative purposes.
|
||||
"""
|
||||
url = "https://api.nganime.my.id/anime/gogoanime/watch/spy-x-family-episode-1"
|
||||
response = requests.get(url, params={"server": "gogocdn"})
|
||||
data = response.json()
|
||||
|
||||
print(data)
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Response Schema
|
||||
|
||||
<Tabs items={["200 OK", "404 Not Found", "500 Internal Server Error"]}>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
{
|
||||
"headers": {
|
||||
"Referer": "string",
|
||||
"watchsb": "string", // or null, since only provided with server being equal to "streamsb".
|
||||
"User-Agent": "string" // or null
|
||||
},
|
||||
"sources": [
|
||||
{
|
||||
"url": "string",
|
||||
"quality": "string",
|
||||
"isM3U8": true
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
107
pages/rest-api/Anime/gogoanime/get-anime-info.mdx
Normal file
107
pages/rest-api/Anime/gogoanime/get-anime-info.mdx
Normal file
@ -0,0 +1,107 @@
|
||||
---
|
||||
title: GogoAnime | Anime Info
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Get Anime Info
|
||||
|
||||
Technical details regarding the usage of the get anime info function for the GogoAnime provider can be found below. Example code is provided for both JavaScript and Python, along with a response schema.
|
||||
|
||||
## Route Schema (URL)
|
||||
|
||||
```
|
||||
https://api.nganime.my.id/anime/gogoanime/info/{id}
|
||||
```
|
||||
|
||||
## Path Parameters
|
||||
|
||||
| Parameter | Type | Description | Required? | Default |
|
||||
| :-------: | :----: | ------------------------------------------------------------------------------------------------------- | :-------: | :-----: |
|
||||
| id | string | The GogoAnime ID of the anime; i.e. provided by searching for said anime and selecting the correct one. | Yes | |
|
||||
|
||||
## Request Samples
|
||||
|
||||
<Tabs items={["JavaScript", "Python"]}>
|
||||
<Tab>
|
||||
<>
|
||||
```js
|
||||
import axios from "axios";
|
||||
|
||||
// Using the example ID of "spy-x-family".
|
||||
const url = "https://api.nganime.my.id/anime/gogoanime/info/spy-x-family";
|
||||
const data = async () => {
|
||||
try {
|
||||
const { data } = await axios.get(url);
|
||||
return data;
|
||||
} catch (err) {
|
||||
throw new Error(err.message);
|
||||
}
|
||||
};
|
||||
|
||||
console.log(data);
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
<Tab>
|
||||
<>
|
||||
```python
|
||||
import requests
|
||||
|
||||
# Using the example ID of "spy-x-family".
|
||||
url = "https://api.nganime.my.id/anime/gogoanime/info/spy-x-family"
|
||||
response = requests.get(url)
|
||||
data = response.json()
|
||||
|
||||
print(data)
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Response Schema
|
||||
|
||||
<Tabs items={["200 OK", "404 Not Found", "500 Internal Server Error"]}>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
{
|
||||
"id": "string",
|
||||
"title": "string",
|
||||
"url": "string",
|
||||
"image": "string",
|
||||
"releaseDate": "string", // or null
|
||||
"description": "string", // or null
|
||||
"genres": [
|
||||
"string"
|
||||
],
|
||||
"subOrDub": "sub",
|
||||
"type": "string", // or null
|
||||
"status": "Ongoing",
|
||||
"otherName": "string", // or null
|
||||
"totalEpisodes": 0,
|
||||
"episodes": [
|
||||
{
|
||||
"id": "string",
|
||||
"number": 0,
|
||||
"url": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
91
pages/rest-api/Anime/gogoanime/get-recent-episodes.mdx
Normal file
91
pages/rest-api/Anime/gogoanime/get-recent-episodes.mdx
Normal file
@ -0,0 +1,91 @@
|
||||
---
|
||||
title: GogoAnime | Recent Episodes
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Get Recent Episodes
|
||||
|
||||
Technical details regarding the usage of the get recent anime episodes function for the GogoAnime provider can be found below. Example code is provided for both JavaScript and Python, along with a response schema.
|
||||
|
||||
## Route Schema (URL)
|
||||
|
||||
```
|
||||
https://api.nganime.my.id/anime/gogoanime/recent-episodes
|
||||
```
|
||||
|
||||
## Query Parameters
|
||||
|
||||
| Parameter | Type | Description | Required? | Default |
|
||||
| :-------: | :-----: | ----------------------------------------------------------------------------------------------------------------------------- | :-------: | :-----: |
|
||||
| page | integer | The page number of results to return. | No | `1` |
|
||||
| type | integer | The type of anime to get, i.e. sub or dub. 1: Japanese Dub, English Sub; 2: English Dub, No Sub; 3: Chinese Dub, English Sub. | No | `1` |
|
||||
|
||||
## Request Samples
|
||||
|
||||
<Tabs items={["JavaScript", "Python"]}>
|
||||
<Tab>
|
||||
<>
|
||||
```js
|
||||
import axios from "axios";
|
||||
|
||||
const url = "https://api.nganime.my.id/anime/gogoanime/recent-episodes";
|
||||
const data = async () => {
|
||||
try {
|
||||
const { data } = await axios.get(url, { params: { page: 1, type: 1 } });
|
||||
return data;
|
||||
} catch (err) {
|
||||
throw new Error(err.message);
|
||||
}
|
||||
};
|
||||
|
||||
console.log(data);
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
<Tab>
|
||||
<>
|
||||
```python
|
||||
import requests
|
||||
|
||||
url = "https://api.nganime.my.id/anime/gogoanime/recent-episodes"
|
||||
response = requests.get(url, params={"page": 1, "type": 1})
|
||||
data = response.json()
|
||||
|
||||
print(data)
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Response Schema
|
||||
|
||||
<Tabs items={["200 OK", "500 Internal Server Error"]}>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
{
|
||||
"currentPage": 0,
|
||||
"hasNextPage": true,
|
||||
"results": [
|
||||
{
|
||||
"id": "string",
|
||||
"episodeId": "string",
|
||||
"episodeNumber": 0,
|
||||
"title": "string",
|
||||
"image": "string",
|
||||
"url": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
89
pages/rest-api/Anime/gogoanime/get-top-airing-anime.mdx
Normal file
89
pages/rest-api/Anime/gogoanime/get-top-airing-anime.mdx
Normal file
@ -0,0 +1,89 @@
|
||||
---
|
||||
title: GogoAnime | Top Airing Anime
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Get Top Airing Anime
|
||||
|
||||
Technical details regarding the usage of the get top airing anime function for the GogoAnime provider can be found below. Example code is provided for both JavaScript and Python, along with a response schema.
|
||||
|
||||
## Route Schema (URL)
|
||||
|
||||
```
|
||||
https://api.nganime.my.id/anime/gogoanime/top-airing
|
||||
```
|
||||
|
||||
## Query Parameters
|
||||
|
||||
| Parameter | Type | Description | Required? | Default |
|
||||
| :-------: | :-----: | ------------------------------------- | :-------: | :-----: |
|
||||
| page | integer | The page number of results to return. | No | `1` |
|
||||
|
||||
## Request Samples
|
||||
|
||||
<Tabs items={["JavaScript", "Python"]}>
|
||||
<Tab>
|
||||
<>
|
||||
```js
|
||||
import axios from "axios";
|
||||
|
||||
const url = "https://api.nganime.my.id/anime/gogoanime/top-airing";
|
||||
const data = async () => {
|
||||
try {
|
||||
const { data } = await axios.get(url, { params: { page: 1 } });
|
||||
return data;
|
||||
} catch (err) {
|
||||
throw new Error(err.message);
|
||||
}
|
||||
};
|
||||
|
||||
console.log(data);
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
<Tab>
|
||||
<>
|
||||
```python
|
||||
import requests
|
||||
|
||||
url = "https://api.nganime.my.id/anime/gogoanime/top-airing"
|
||||
response = requests.get(url, params={"page": 1})
|
||||
data = response.json()
|
||||
|
||||
print(data)
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Response Schema
|
||||
|
||||
<Tabs items={["200 OK", "500 Internal Server Error"]}>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
{
|
||||
"currentPage": 0,
|
||||
"hasNextPage": true,
|
||||
"results": [
|
||||
{
|
||||
"id": "string",
|
||||
"title": "string",
|
||||
"image": "string",
|
||||
"url": "string",
|
||||
"genres": [ "string" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
91
pages/rest-api/Anime/gogoanime/search.mdx
Normal file
91
pages/rest-api/Anime/gogoanime/search.mdx
Normal file
@ -0,0 +1,91 @@
|
||||
---
|
||||
title: GogoAnime | Search
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Search
|
||||
|
||||
Technical details regarding the usage of the search function for the GogoAnime provider can be found below. Example code is provided for both JavaScript and Python, along with a response schema.
|
||||
|
||||
## Route Schema (URL)
|
||||
|
||||
```
|
||||
https://api.nganime.my.id/anime/gogoanime/{query}?page={number}
|
||||
```
|
||||
|
||||
## Path Parameters
|
||||
|
||||
| Parameter | Type | Description | Required? | Default |
|
||||
| :-------: | :----: | ----------------------------------------------------------------- | :-------: | :-----: |
|
||||
| query | string | The search query; i.e. the title of the item you are looking for. | Yes | `""` |
|
||||
|
||||
## Query Parameters
|
||||
|
||||
| Parameter | Type | Description | Required? | Default |
|
||||
| :-------: | :-----: | ------------------------------------- | :-------: | :-----: |
|
||||
| page | integer | The page number of results to return. | No | `1` |
|
||||
|
||||
## Request Samples
|
||||
|
||||
<Tabs items={["JavaScript", "Python"]}>
|
||||
<Tab>
|
||||
<>
|
||||
```js
|
||||
import axios from "axios";
|
||||
|
||||
// Using the example query "demon", and looking at the 2nd page of results.
|
||||
const url = "https://api.nganime.my.id/anime/gogoanime/demon?page=2";
|
||||
const data = async () => {
|
||||
try {
|
||||
const { data } = await axios.get(url, { params: { page: 2 } });
|
||||
return data;
|
||||
} catch (err) {
|
||||
throw new Error(err.message);
|
||||
}
|
||||
};
|
||||
|
||||
console.log(data);
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
<Tab>
|
||||
<>
|
||||
```python
|
||||
import requests
|
||||
|
||||
# Using the example query "demon", and looking at the 2nd page of results.
|
||||
url = "https://api.nganime.my.id/anime/gogoanime/demon"
|
||||
response = requests.get(url, params={"page": 2})
|
||||
data = response.json()
|
||||
|
||||
print(data)
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Response Schema
|
||||
|
||||
<Tabs items={["200 OK"]}>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
{
|
||||
"currentPage": 0,
|
||||
"hasNextPage": true,
|
||||
"results": [
|
||||
{
|
||||
"id": "string",
|
||||
"title": "string",
|
||||
"image": "string",
|
||||
"releaseDate": "string", // or null
|
||||
"subOrDub": "sub" // or "dub"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
0
pages/rest-api/Anime/zoro/_meta.json
Normal file
0
pages/rest-api/Anime/zoro/_meta.json
Normal file
114
pages/rest-api/Anime/zoro/get-anime-episode-streaming-links.mdx
Normal file
114
pages/rest-api/Anime/zoro/get-anime-episode-streaming-links.mdx
Normal file
@ -0,0 +1,114 @@
|
||||
---
|
||||
title: zoro | Streaming Links
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Get Anime Episode Streaming Links
|
||||
|
||||
Technical details regarding the usage of the get anime streaming links function for the zoro provider can be found below. Example code is provided for both JavaScript and Python, along with a response schema.
|
||||
|
||||
The key changes once every hour, so this may result in a little downtime when the
|
||||
key is changed, while our bot is updating the key.
|
||||
|
||||
## Route Schema (URL)
|
||||
|
||||
```
|
||||
https://api.nganime.my.id/anime/zoro/watch/{episodeId}?server={serverName}
|
||||
```
|
||||
|
||||
## Query Parameters
|
||||
|
||||
| Parameter | Type | Description | Required? | Default |
|
||||
| :-------: | :--------------------------------------------------------------------------: | ----------------------------------------------------------------- | :-------: | :----------: |
|
||||
| query | string | The search query; i.e. the title of the item you are looking for. | Yes | `""` |
|
||||
| server | Enum: `"vidcloud"` `"streamsb"` `"vidstreaming"` `"streamtape"` `"vidcloud"` | The page number of results to return. | No | `"vidcloud"` |
|
||||
|
||||
## Request Samples
|
||||
|
||||
<Tabs items={["JavaScript", "Python"]}>
|
||||
<Tab>
|
||||
<>
|
||||
```js
|
||||
import axios from "axios";
|
||||
|
||||
/*
|
||||
Using the example episode ID of 'spy-x-family-17977$episode$89506$both',
|
||||
explicitly defining default server for demostrative purposes.
|
||||
*/
|
||||
const url = "https://api.nganime.my.id/anime/zoro/watch?episodeId=spy-x-family-17977$episode$89506$both&server=vidcloud"
|
||||
const data = async () => {
|
||||
try {
|
||||
const { data } = await axios.get(url, { params: {
|
||||
episodeId: "spy-x-family-17977$episode$89506$both",
|
||||
server: "vidcloud"
|
||||
} });
|
||||
return data;
|
||||
} catch (err) {
|
||||
throw new Error(err.message);
|
||||
}
|
||||
};
|
||||
|
||||
console.log(data);
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
<Tab>
|
||||
<>
|
||||
```python
|
||||
import requests
|
||||
|
||||
"""
|
||||
Using the example episode ID of 'spy-x-family-17977$episode$89506$both',
|
||||
explicitly defining default server for demostrative purposes.
|
||||
"""
|
||||
url = "https://api.nganime.my.id/anime/zoro/watch?episodeId=spy-x-family-17977$episode$89506$both&server=vidcloud"
|
||||
response = requests.get(url, params={
|
||||
"episodeId": "spy-x-family-17977$episode$89506$both",
|
||||
"server": "vidcloud"
|
||||
})
|
||||
data = response.json()
|
||||
|
||||
print(data)
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Response Schema
|
||||
|
||||
<Tabs items={["200 OK", "404 Not Found", "500 Internal Server Error"]}>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
{
|
||||
"headers": {
|
||||
"Referer": "string",
|
||||
"watchsb": "string", // or null, since only provided with server being equal to "streamsb".
|
||||
"User-Agent": "string" // or null
|
||||
},
|
||||
"sources": [
|
||||
{
|
||||
"url": "string",
|
||||
"quality": "string",
|
||||
"isM3U8": true
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
107
pages/rest-api/Anime/zoro/get-anime-info.mdx
Normal file
107
pages/rest-api/Anime/zoro/get-anime-info.mdx
Normal file
@ -0,0 +1,107 @@
|
||||
---
|
||||
title: zoro | Anime Info
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Get Anime Info
|
||||
|
||||
Technical details regarding the usage of the get anime info function for the zoro provider can be found below. Example code is provided for both JavaScript and Python, along with a response schema.
|
||||
|
||||
## Route Schema (URL)
|
||||
|
||||
```
|
||||
https://api.nganime.my.id/anime/zoro/info?id={id}
|
||||
```
|
||||
|
||||
## Query Parameters
|
||||
|
||||
| Parameter | Type | Description | Required? | Default |
|
||||
| :-------: | :----: | -------------------------------------------------------------------------------------------------- | :-------: | :-----: |
|
||||
| id | string | The zoro ID of the anime; i.e. provided by searching for said anime and selecting the correct one. | Yes | |
|
||||
|
||||
## Request Samples
|
||||
|
||||
<Tabs items={["JavaScript", "Python"]}>
|
||||
<Tab>
|
||||
<>
|
||||
```js
|
||||
import axios from "axios";
|
||||
|
||||
// Using the example ID of "spy-x-family-17977".
|
||||
const url = "https://api.nganime.my.id/anime/zoro/info?id=spy-x-family-17977";
|
||||
const data = async () => {
|
||||
try {
|
||||
const { data } = await axios.get(url, {params: {id: "spy-x-family-17977"}});
|
||||
return data;
|
||||
} catch (err) {
|
||||
throw new Error(err.message);
|
||||
}
|
||||
};
|
||||
|
||||
console.log(data);
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
<Tab>
|
||||
<>
|
||||
```python
|
||||
import requests
|
||||
|
||||
# Using the example ID of "spy-x-family-17977".
|
||||
url = "https://api.nganime.my.id/anime/zoro/info?id=spy-x-family-17977"
|
||||
response = requests.get(url, params={"id": "spy-x-family-17977"})
|
||||
data = response.json()
|
||||
|
||||
print(data)
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Response Schema
|
||||
|
||||
<Tabs items={["200 OK", "404 Not Found", "500 Internal Server Error"]}>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
{
|
||||
"id": "string",
|
||||
"title": "string",
|
||||
"url": "string",
|
||||
"image": "string",
|
||||
"releaseDate": "string", // or null
|
||||
"description": "string", // or null
|
||||
"genres": [
|
||||
"string"
|
||||
],
|
||||
"subOrDub": "sub",
|
||||
"type": "string", // or null
|
||||
"status": "Ongoing",
|
||||
"otherName": "string", // or null
|
||||
"totalEpisodes": 0,
|
||||
"episodes": [
|
||||
{
|
||||
"id": "string",
|
||||
"number": 0,
|
||||
"url": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
107
pages/rest-api/Anime/zoro/search.mdx
Normal file
107
pages/rest-api/Anime/zoro/search.mdx
Normal file
@ -0,0 +1,107 @@
|
||||
---
|
||||
title: zoro | Anime Info
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Get Anime Info
|
||||
|
||||
Technical details regarding the usage of the get anime info function for the zoro provider can be found below. Example code is provided for both JavaScript and Python, along with a response schema.
|
||||
|
||||
## Route Schema (URL)
|
||||
|
||||
```
|
||||
https://api.nganime.my.id/anime/zoro/info?id={id}
|
||||
```
|
||||
|
||||
## Query Parameters
|
||||
|
||||
| Parameter | Type | Description | Required? | Default |
|
||||
| :-------: | :----: | -------------------------------------------------------------------------------------------------- | :-------: | :-----: |
|
||||
| id | string | The zoro ID of the anime; i.e. provided by searching for said anime and selecting the correct one. | Yes | |
|
||||
|
||||
## Request Samples
|
||||
|
||||
<Tabs items={["JavaScript", "Python"]}>
|
||||
<Tab>
|
||||
<>
|
||||
```js
|
||||
import axios from "axios";
|
||||
|
||||
// Using the example ID of "spy-x-family-17977".
|
||||
const url = "https://api.nganime.my.id/anime/zoro/info?id=spy-x-family-17977";
|
||||
const data = async () => {
|
||||
try {
|
||||
const { data } = await axios.get(url, {params: {id: "spy-x-family-17977"}});
|
||||
return data;
|
||||
} catch (err) {
|
||||
throw new Error(err.message);
|
||||
}
|
||||
};
|
||||
|
||||
console.log(data);
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
<Tab>
|
||||
<>
|
||||
```python
|
||||
import requests
|
||||
|
||||
# Using the example ID of "spy-x-family-17977".
|
||||
url = "https://api.nganime.my.id/anime/zoro/info?id=spy-x-family-17977"
|
||||
response = requests.get(url, params={"id": "spy-x-family-17977"})
|
||||
data = response.json()
|
||||
|
||||
print(data)
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Response Schema
|
||||
|
||||
<Tabs items={["200 OK", "404 Not Found", "500 Internal Server Error"]}>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
{
|
||||
"id": "string",
|
||||
"title": "string",
|
||||
"url": "string",
|
||||
"image": "string",
|
||||
"releaseDate": "string", // or null
|
||||
"description": "string", // or null
|
||||
"genres": [
|
||||
"string"
|
||||
],
|
||||
"subOrDub": "sub",
|
||||
"type": "string", // or null
|
||||
"status": "Ongoing",
|
||||
"otherName": "string", // or null
|
||||
"totalEpisodes": 0,
|
||||
"episodes": [
|
||||
{
|
||||
"id": "string",
|
||||
"number": 0,
|
||||
"url": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
Loading…
x
Reference in New Issue
Block a user