Read
Technical details regarding the usage of the Read function for the Anilist Manga 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/meta/anilist-manga/read?chapterId={chapterId}&provider={provider}
Query Parameters
Parameter | Type | Description | Required? | Default |
---|---|---|---|---|
chapterId | string | The ID of the selected chapter you want to read | Yes | N/A |
provider | string | The provider you want to use. Enum: mangadex , mangahere , mangakakalot , mangapark , mangapill , mangareader , mangasee123 | no | N/A |
Request Samples
import axios from "axios";
// Using the example id of "30013" and the query of "mangareader"
const url = "https://api.consumet.org/meta/anilist-manga/read";
const data = async () => {
try {
const { data } = await axios.get(url, { params: { chapterId: "one-piece-3/fr/chapter-1", provider: "mangareader" } });
return data;
} catch (err) {
throw new Error(err.message);
}
};
console.log(data);
Response Schema
MIME Type: application/json
{
"img": "string",
"page": "integer",
}