mirror of
https://github.com/MinazukiAmane/Nganime-Docs.git
synced 2025-03-15 08:55:55 +08:00
complete manga pages
This commit is contained in:
parent
189c8f1fd7
commit
cccd068b89
5
pages/rest-api/Manga/mangakakalot/_meta.json
Normal file
5
pages/rest-api/Manga/mangakakalot/_meta.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"search": "Search",
|
||||
"get-manga-info": "Get Manga Info",
|
||||
"get-manga-chapter-pages": "Get Manga Chapter Pages"
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
title: Mangakakalot | Manga Chapter Pages
|
||||
---
|
||||
|
||||
# Get Manga Chapter Pages
|
5
pages/rest-api/Manga/mangakakalot/get-manga-info.mdx
Normal file
5
pages/rest-api/Manga/mangakakalot/get-manga-info.mdx
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
title: Mangakakalot | Manga Info
|
||||
---
|
||||
|
||||
# Get Manga Info
|
5
pages/rest-api/Manga/mangakakalot/search.mdx
Normal file
5
pages/rest-api/Manga/mangakakalot/search.mdx
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
title: Mangakakalot | Search
|
||||
---
|
||||
|
||||
# Search
|
5
pages/rest-api/Manga/mangapark-v2/_meta.json
Normal file
5
pages/rest-api/Manga/mangapark-v2/_meta.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"search": "Search",
|
||||
"get-manga-info": "Get Manga Info",
|
||||
"get-manga-chapter-pages": "Get Manga Chapter Pages"
|
||||
}
|
@ -0,0 +1,91 @@
|
||||
---
|
||||
title: Mangapark (v2) | Manga Chapter Pages
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Get Manga Chapter Pages
|
||||
|
||||
Technical details regarding the usage of the get manga chapter pages function for the mangapark 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/manga/mangahere/read?chapterId={chapterId}
|
||||
```
|
||||
|
||||
## Query Parameters
|
||||
|
||||
| Parameter | Type | Description | Required? | Default |
|
||||
| :-------: | :----: | --------------------------------------------------------------------------------------------------------- | :-------: | :-----: |
|
||||
| chapterId | string | The mangapark ID of the chapter; 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 chapter ID of "one-piece/i2419841"
|
||||
const url = "https://api.nganime.my.id/manga/mangapark/read";
|
||||
const data = async () => {
|
||||
try {
|
||||
const { data } = await axios.get(url, { params: { chapterId: "one-piece/i2419841"} });
|
||||
return data;
|
||||
} catch (err) {
|
||||
throw new Error(err.message);
|
||||
}
|
||||
};
|
||||
|
||||
console.log(data);
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
<Tab>
|
||||
<>
|
||||
```python
|
||||
import requests
|
||||
|
||||
# Using the example chapter ID of "one-piece/i2419841"
|
||||
url = "https://api.nganime.my.id/manga/mangapark/read"
|
||||
response = requests.get(url, params={"chapterId": "one-piece/i2419841"})
|
||||
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
|
||||
[
|
||||
{
|
||||
"page": "number",
|
||||
"img": "string",
|
||||
},
|
||||
...
|
||||
]
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
103
pages/rest-api/Manga/mangapark-v2/get-manga-info.mdx
Normal file
103
pages/rest-api/Manga/mangapark-v2/get-manga-info.mdx
Normal file
@ -0,0 +1,103 @@
|
||||
---
|
||||
title: Mangapark (v2) | Manga Info
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Get Manga Info
|
||||
|
||||
Technical details regarding the usage of the get manga info function for the Mangapark (v2) 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/manga/mangapark/info?id={id}
|
||||
```
|
||||
|
||||
## Query Parameters
|
||||
|
||||
| Parameter | Type | Description | Required? | Default |
|
||||
| :-------: | :----: | ------------------------------------------------------------------------------------------------------- | :-------: | :-----: |
|
||||
| id | string | The mangaPark ID of the manga; i.e. provided by searching for said manga and selecting the correct one. | Yes | |
|
||||
|
||||
## Request Samples
|
||||
|
||||
<Tabs items={["JavaScript", "Python"]}>
|
||||
<Tab>
|
||||
<>
|
||||
```js
|
||||
import axios from "axios";
|
||||
|
||||
// Using the example ID of "one-piece".
|
||||
const url = "https://api.nganime.my.id/manga/mangapark/info";
|
||||
const data = async () => {
|
||||
try {
|
||||
const { data } = await axios.get(url, { params: { id: "one-piece"} });
|
||||
return data;
|
||||
} catch (err) {
|
||||
throw new Error(err.message);
|
||||
}
|
||||
};
|
||||
|
||||
console.log(data);
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
<Tab>
|
||||
<>
|
||||
```python
|
||||
import requests
|
||||
|
||||
# Using the example ID of "one-piece".
|
||||
url = "https://api.nganime.my.id/manga/mangapark/info"
|
||||
response = requests.get(url, params={"id": "one-piece"})
|
||||
data = response.json()
|
||||
|
||||
print(data)
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Response Schema
|
||||
|
||||
<Tabs items={["200 OK", "400 Bad Request", "404 Not Found", "500 Internal Server Error"]}>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
{
|
||||
"id": "string",
|
||||
"title": "string",
|
||||
"image": "string", // or null
|
||||
"description": "string",
|
||||
"chapters": [
|
||||
{
|
||||
"id": "string",
|
||||
"title": "string",
|
||||
"releaseDate": "string" // or null
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
83
pages/rest-api/Manga/mangapark-v2/search.mdx
Normal file
83
pages/rest-api/Manga/mangapark-v2/search.mdx
Normal file
@ -0,0 +1,83 @@
|
||||
---
|
||||
title: Mangapark (v2) | Search
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Search
|
||||
|
||||
Technical details regarding the usage of the search function for the Mangapark (v2) 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/manga/mangapark/{query}
|
||||
```
|
||||
|
||||
## 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 query "one piece".
|
||||
const url = "https://api.nganime.my.id/manga/mangapark/one piece";
|
||||
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 query "one piece".
|
||||
url = "https://api.nganime.my.id/manga/mangapark/one piece"
|
||||
response = requests.get(url)
|
||||
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"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
5
pages/rest-api/Manga/mangapill/_meta.json
Normal file
5
pages/rest-api/Manga/mangapill/_meta.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"search": "Search",
|
||||
"get-manga-info": "Get Manga Info",
|
||||
"get-manga-chapter-pages": "Get Manga Chapter Pages"
|
||||
}
|
92
pages/rest-api/Manga/mangapill/get-manga-chapter-pages.mdx
Normal file
92
pages/rest-api/Manga/mangapill/get-manga-chapter-pages.mdx
Normal file
@ -0,0 +1,92 @@
|
||||
---
|
||||
title: mangapill | Manga Chapter Pages
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Get Manga Chapter Pages
|
||||
|
||||
Technical details regarding the usage of the get manga chapter pages function for the mangapill 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/manga/mangapill/read?chapterId={chapterId}
|
||||
```
|
||||
|
||||
## Query Parameters
|
||||
|
||||
| Parameter | Type | Description | Required? | Default |
|
||||
| :-------: | :----: | --------------------------------------------------------------------------------------------------------- | :-------: | :-----: |
|
||||
| chapterId | string | The mangapill ID of the chapter; 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 chapter ID of "4886-10154000/yofukashi-no-uta-chapter-1"
|
||||
const url = "https://api.nganime.my.id/manga/mangapill/read";
|
||||
const data = async () => {
|
||||
try {
|
||||
const { data } = await axios.get(url, { params: { chapterId: "4886-10154000/yofukashi-no-uta-chapter-1"} });
|
||||
return data;
|
||||
} catch (err) {
|
||||
throw new Error(err.message);
|
||||
}
|
||||
};
|
||||
|
||||
console.log(data);
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
<Tab>
|
||||
<>
|
||||
```python
|
||||
import requests
|
||||
|
||||
# Using the example chapter ID of "4886-10154000/yofukashi-no-uta-chapter-1"
|
||||
url = "https://api.nganime.my.id/manga/mangapill/read"
|
||||
response = requests.get(url, params={"chapterId": "4886-10154000/yofukashi-no-uta-chapter-1"})
|
||||
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
|
||||
[
|
||||
{
|
||||
"page": number,
|
||||
"img": "string",
|
||||
"headerForImage": "string"
|
||||
},
|
||||
...
|
||||
]
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
105
pages/rest-api/Manga/mangapill/get-manga-info.mdx
Normal file
105
pages/rest-api/Manga/mangapill/get-manga-info.mdx
Normal file
@ -0,0 +1,105 @@
|
||||
---
|
||||
title: mangapill | Manga Info
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Get Manga Info
|
||||
|
||||
Technical details regarding the usage of the get manga info function for the mangapill 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/manga/mangapill/info?id={id}
|
||||
```
|
||||
|
||||
## Query Parameters
|
||||
|
||||
| Parameter | Type | Description | Required? | Default |
|
||||
| :-------: | :----: | ------------------------------------------------------------------------------------------------------- | :-------: | :-----: |
|
||||
| id | string | The mangapill ID of the manga; i.e. provided by searching for said manga and selecting the correct one. | Yes | |
|
||||
|
||||
## Request Samples
|
||||
|
||||
<Tabs items={["JavaScript", "Python"]}>
|
||||
<Tab>
|
||||
<>
|
||||
```js
|
||||
import axios from "axios";
|
||||
|
||||
// Using the example ID of "4886/yofukashi-no-uta".
|
||||
const url = "https://api.nganime.my.id/manga/mangapill/info";
|
||||
const data = async () => {
|
||||
try {
|
||||
const { data } = await axios.get(url, { params: { id: "4886/yofukashi-no-uta"} });
|
||||
return data;
|
||||
} catch (err) {
|
||||
throw new Error(err.message);
|
||||
}
|
||||
};
|
||||
|
||||
console.log(data);
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
<Tab>
|
||||
<>
|
||||
```python
|
||||
import requests
|
||||
|
||||
# Using the example ID of "4886/yofukashi-no-uta".
|
||||
url = "https://api.nganime.my.id/manga/mangapill/info"
|
||||
response = requests.get(url, params={"id": "4886/yofukashi-no-uta"})
|
||||
data = response.json()
|
||||
|
||||
print(data)
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Response Schema
|
||||
|
||||
<Tabs items={["200 OK", "400 Bad Request", "404 Not Found", "500 Internal Server Error"]}>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
{
|
||||
"id": "string",
|
||||
"title": "string",
|
||||
"altTitles": ["string"], // or null
|
||||
"genres": ["string"], // or null
|
||||
"headerForImage": "string", // or null
|
||||
"image": "string", // or null
|
||||
"chapters": [
|
||||
{
|
||||
"id": "string",
|
||||
"title": "string",
|
||||
"releaseDate": "string" // or null
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
85
pages/rest-api/Manga/mangapill/search.mdx
Normal file
85
pages/rest-api/Manga/mangapill/search.mdx
Normal file
@ -0,0 +1,85 @@
|
||||
---
|
||||
title: mangapill | Search
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Search
|
||||
|
||||
Technical details regarding the usage of the search function for the mangapill 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/manga/mangapill/{query}
|
||||
```
|
||||
|
||||
## 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 query "demon".
|
||||
const url = "https://api.nganime.my.id/manga/mangapill/demon";
|
||||
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 query "demon".
|
||||
url = "https://api.nganime.my.id/manga/mangapill/demon"
|
||||
response = requests.get(url)
|
||||
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",
|
||||
"altTitles": ["string"],
|
||||
"headerForImage": { "Referer": "string" },
|
||||
"image": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
5
pages/rest-api/Manga/mangareader/_meta.json
Normal file
5
pages/rest-api/Manga/mangareader/_meta.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"search": "Search",
|
||||
"get-manga-info": "Get Manga Info",
|
||||
"get-manga-chapter-pages": "Get Manga Chapter Pages"
|
||||
}
|
92
pages/rest-api/Manga/mangareader/get-manga-chapter-pages.mdx
Normal file
92
pages/rest-api/Manga/mangareader/get-manga-chapter-pages.mdx
Normal file
@ -0,0 +1,92 @@
|
||||
---
|
||||
title: mangareader | Manga Chapter Pages
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Get Manga Chapter Pages
|
||||
|
||||
Technical details regarding the usage of the get manga chapter pages function for the mangareader 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/manga/mangareader/read?chapterId={chapterId}
|
||||
```
|
||||
|
||||
## Query Parameters
|
||||
|
||||
| Parameter | Type | Description | Required? | Default |
|
||||
| :-------: | :----: | ----------------------------------------------------------------------------------------------------------- | :-------: | :-----: |
|
||||
| chapterId | string | The mangareader ID of the chapter; 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 chapter ID of "call-of-the-night-2234/en/chapter-1"
|
||||
const url = "https://api.nganime.my.id/manga/mangareader/read";
|
||||
const data = async () => {
|
||||
try {
|
||||
const { data } = await axios.get(url, { params: { chapterId: "call-of-the-night-2234/en/chapter-1"} });
|
||||
return data;
|
||||
} catch (err) {
|
||||
throw new Error(err.message);
|
||||
}
|
||||
};
|
||||
|
||||
console.log(data);
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
<Tab>
|
||||
<>
|
||||
```python
|
||||
import requests
|
||||
|
||||
# Using the example chapter ID of "call-of-the-night-2234/en/chapter-1"
|
||||
url = "https://api.nganime.my.id/manga/mangareader/read"
|
||||
response = requests.get(url, params={"chapterId": "call-of-the-night-2234/en/chapter-1"})
|
||||
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
|
||||
[
|
||||
{
|
||||
"page": number,
|
||||
"img": "string",
|
||||
"headerForImage": "string"
|
||||
},
|
||||
...
|
||||
]
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
105
pages/rest-api/Manga/mangareader/get-manga-info.mdx
Normal file
105
pages/rest-api/Manga/mangareader/get-manga-info.mdx
Normal file
@ -0,0 +1,105 @@
|
||||
---
|
||||
title: mangareader | Manga Info
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Get Manga Info
|
||||
|
||||
Technical details regarding the usage of the get manga info function for the mangareader 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/manga/mangareader/info?id={id}
|
||||
```
|
||||
|
||||
## Query Parameters
|
||||
|
||||
| Parameter | Type | Description | Required? | Default |
|
||||
| :-------: | :----: | --------------------------------------------------------------------------------------------------------- | :-------: | :-----: |
|
||||
| id | string | The mangareader ID of the manga; i.e. provided by searching for said manga and selecting the correct one. | Yes | |
|
||||
|
||||
## Request Samples
|
||||
|
||||
<Tabs items={["JavaScript", "Python"]}>
|
||||
<Tab>
|
||||
<>
|
||||
```js
|
||||
import axios from "axios";
|
||||
|
||||
// Using the example ID of "call-of-the-night-2234".
|
||||
const url = "https://api.nganime.my.id/manga/mangareader/info";
|
||||
const data = async () => {
|
||||
try {
|
||||
const { data } = await axios.get(url, { params: { id: "call-of-the-night-2234"} });
|
||||
return data;
|
||||
} catch (err) {
|
||||
throw new Error(err.message);
|
||||
}
|
||||
};
|
||||
|
||||
console.log(data);
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
<Tab>
|
||||
<>
|
||||
```python
|
||||
import requests
|
||||
|
||||
# Using the example ID of "call-of-the-night-2234".
|
||||
url = "https://api.nganime.my.id/manga/mangareader/info"
|
||||
response = requests.get(url, params={"id": "call-of-the-night-2234"})
|
||||
data = response.json()
|
||||
|
||||
print(data)
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Response Schema
|
||||
|
||||
<Tabs items={["200 OK", "400 Bad Request", "404 Not Found", "500 Internal Server Error"]}>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
{
|
||||
"id": "string",
|
||||
"title": "string",
|
||||
"altTitles": ["string"], // or null
|
||||
"genres": ["string"], // or null
|
||||
"headerForImage": "string", // or null
|
||||
"image": "string", // or null
|
||||
"chapters": [
|
||||
{
|
||||
"id": "string",
|
||||
"title": "string",
|
||||
"releaseDate": "string" // or null
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
85
pages/rest-api/Manga/mangareader/search.mdx
Normal file
85
pages/rest-api/Manga/mangareader/search.mdx
Normal file
@ -0,0 +1,85 @@
|
||||
---
|
||||
title: mangareader | Search
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Search
|
||||
|
||||
Technical details regarding the usage of the search function for the mangareader 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/manga/mangareader/{query}
|
||||
```
|
||||
|
||||
## 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 query "demon".
|
||||
const url = "https://api.nganime.my.id/manga/mangareader/demon";
|
||||
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 query "demon".
|
||||
url = "https://api.nganime.my.id/manga/mangareader/demon"
|
||||
response = requests.get(url)
|
||||
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",
|
||||
"altTitles": ["string"],
|
||||
"headerForImage": { "Referer": "string" },
|
||||
"image": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
5
pages/rest-api/Manga/mangasee123/_meta.json
Normal file
5
pages/rest-api/Manga/mangasee123/_meta.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"search": "Search",
|
||||
"get-manga-info": "Get Manga Info",
|
||||
"get-manga-chapter-pages": "Get Manga Chapter Pages"
|
||||
}
|
92
pages/rest-api/Manga/mangasee123/get-manga-chapter-pages.mdx
Normal file
92
pages/rest-api/Manga/mangasee123/get-manga-chapter-pages.mdx
Normal file
@ -0,0 +1,92 @@
|
||||
---
|
||||
title: Mangasee123 | Manga Chapter Pages
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Get Manga Chapter Pages
|
||||
|
||||
Technical details regarding the usage of the get manga chapter pages function for the Mangasee123 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/manga/mangasee123/read/{chapterId}
|
||||
```
|
||||
|
||||
## Query Parameters
|
||||
|
||||
| Parameter | Type | Description | Required? | Default |
|
||||
| :-------: | :----: | ----------------------------------------------------------------------------------------------------------- | :-------: | :-----: |
|
||||
| chapterId | string | The Mangasee123 ID of the chapter; 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 chapter ID of "Yofukashi-no-Uta-chapter-1"
|
||||
const url = "https://api.nganime.my.id/manga/mangasee123/read";
|
||||
const data = async () => {
|
||||
try {
|
||||
const { data } = await axios.get(url, { params: { chapterId: "Yofukashi-no-Uta-chapter-1"} });
|
||||
return data;
|
||||
} catch (err) {
|
||||
throw new Error(err.message);
|
||||
}
|
||||
};
|
||||
|
||||
console.log(data);
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
<Tab>
|
||||
<>
|
||||
```python
|
||||
import requests
|
||||
|
||||
# Using the example chapter ID of "Yofukashi-no-Uta-chapter-1"
|
||||
url = "https://api.nganime.my.id/manga/mangasee123/read"
|
||||
response = requests.get(url, params={"chapterId": "Yofukashi-no-Uta-chapter-1"})
|
||||
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
|
||||
[
|
||||
{
|
||||
"page": number,
|
||||
"img": "string",
|
||||
"headerForImage": "string"
|
||||
},
|
||||
...
|
||||
]
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
105
pages/rest-api/Manga/mangasee123/get-manga-info.mdx
Normal file
105
pages/rest-api/Manga/mangasee123/get-manga-info.mdx
Normal file
@ -0,0 +1,105 @@
|
||||
---
|
||||
title: Mangasee123 | Manga Info
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Get Manga Info
|
||||
|
||||
Technical details regarding the usage of the get manga info function for the Mangasee123 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/manga/mangasee123/info?id={id}
|
||||
```
|
||||
|
||||
## Query Parameters
|
||||
|
||||
| Parameter | Type | Description | Required? | Default |
|
||||
| :-------: | :----: | --------------------------------------------------------------------------------------------------------- | :-------: | :-----: |
|
||||
| id | string | The Mangasee123 ID of the manga; i.e. provided by searching for said manga and selecting the correct one. | Yes | |
|
||||
|
||||
## Request Samples
|
||||
|
||||
<Tabs items={["JavaScript", "Python"]}>
|
||||
<Tab>
|
||||
<>
|
||||
```js
|
||||
import axios from "axios";
|
||||
|
||||
// Using the example ID of "Yofukashi-no-Uta".
|
||||
const url = "https://api.nganime.my.id/manga/mangasee123/info";
|
||||
const data = async () => {
|
||||
try {
|
||||
const { data } = await axios.get(url, { params: { id: "Yofukashi-no-Uta"} });
|
||||
return data;
|
||||
} catch (err) {
|
||||
throw new Error(err.message);
|
||||
}
|
||||
};
|
||||
|
||||
console.log(data);
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
<Tab>
|
||||
<>
|
||||
```python
|
||||
import requests
|
||||
|
||||
# Using the example ID of "Yofukashi-no-Uta".
|
||||
url = "https://api.nganime.my.id/manga/mangasee123/info"
|
||||
response = requests.get(url, params={"id": "Yofukashi-no-Uta"})
|
||||
data = response.json()
|
||||
|
||||
print(data)
|
||||
```
|
||||
</>
|
||||
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Response Schema
|
||||
|
||||
<Tabs items={["200 OK", "400 Bad Request", "404 Not Found", "500 Internal Server Error"]}>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
{
|
||||
"id": "string",
|
||||
"title": "string",
|
||||
"altTitles": ["string"], // or null
|
||||
"genres": ["string"], // or null
|
||||
"headerForImage": "string", // or null
|
||||
"image": "string", // or null
|
||||
"chapters": [
|
||||
{
|
||||
"id": "string",
|
||||
"title": "string",
|
||||
"releaseDate": "string" // or null
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
**MIME Type:** `application/json`
|
||||
```json copy=false
|
||||
"message": {}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
85
pages/rest-api/Manga/mangasee123/search.mdx
Normal file
85
pages/rest-api/Manga/mangasee123/search.mdx
Normal file
@ -0,0 +1,85 @@
|
||||
---
|
||||
title: Mangasee123 | Search
|
||||
---
|
||||
|
||||
import { Tab, Tabs } from "nextra-theme-docs";
|
||||
|
||||
# Search
|
||||
|
||||
Technical details regarding the usage of the search function for the Mangasee123 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/manga/mangasee123/{query}
|
||||
```
|
||||
|
||||
## 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 query "demon".
|
||||
const url = "https://api.nganime.my.id/manga/mangasee123/demon";
|
||||
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 query "demon".
|
||||
url = "https://api.nganime.my.id/manga/mangasee123/demon"
|
||||
response = requests.get(url)
|
||||
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",
|
||||
"altTitles": ["string"],
|
||||
"headerForImage": { "Referer": "string" },
|
||||
"image": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
Loading…
x
Reference in New Issue
Block a user