Skip to main content

llama-index readers mangadex integration

Project description

MangaDex Loader

This loader fetches information from the MangaDex API, by manga title.

Usage

from llama_index import download_loader

MangaDexReader = download_loader("MangaDexReader")

loader = MangaDexReader()
documents = loader.load_data(
    titles=["manga title 1", "manga title 2"], lang="en"
)

Output

Text

Document text is the manga title. There are alternate titles for many manga, so the canonical title will be returned, even if it is not the title that the user queried with.

Extra Info

Data Description
id (str) MangaDex manga id
author (str) Author's full name
artist (str) Artist's full name
description (str) Manga description
original_language (str) The language of the source material (before translation)
tags (List[str]) Describes the manga's genre, e.g. "slice of life"
chapter_count (int) How many chapters exist in the requested language
latest_chapter_published_at (str) Timestamp (YYYY-MM-DDTHH:MM:SS in timezone UTC+0) for the latest chapter in the requested language

Examples

This loader is designed to be used as a way to load data into LlamaIndex and/or subsequently used as a Tool in a LangChain Agent.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_readers_mangadex-0.1.3.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page