Skip to main content

Python client for the MangaPlus API.

Project description

MangaPlus

License Release Latest Version

MangaPlus is a Python client for the MangaPlus API, allowing you to access various manga-related information and features. This library provides a convenient way to interact with the MangaPlus API and retrieve data such as manga details, chapters, comments, rankings, and more.

Features

  • Retrieve manga details including title, author, description, cover image, and more.
  • Get a list of available chapters for a specific manga.
  • View manga chapters with different quality settings.
  • Add or remove manga titles from your bookmarks.
  • Access publisher news for specific publishers.
  • View featured manga titles.
  • Retrieve and update user profile information.
  • View the home page with recommended manga titles.
  • Like or dislike comments on manga chapters.
  • Fetch ranking lists (hottest, trending, completed).
  • Manage user subscriptions and view history.

Installation

You can install MangaPlus using pip:

pip install mangaplus

Usage

Here's an example of how to use the MangaPlus library:

from mangaplus import MangaPlus, Language, Viewer, Quality

if __name__ == "__main__":
    title_id = 100191  # Example title ID
    chapter_id = 1014090  # Example chapter ID

    # Initialize the MangaPlus client with default settings
    client = MangaPlus(lang=Language.ENGLISH, viewer=Viewer.HORIZONTAL)

    # Register a new device
    device_id = "your_device_id_here"
    client.register(device_id)

    # Fetch home titles
    home_content = client.home()
    print(home_content)

    # View manga chapters
    manga_chapter = client.manga_viewer(
        chapter_id=chapter_id,
        split=True,
        quality=Quality.SUPER_HIGH
    )
    print(manga_chapter)

Contributing

Contributions are welcome! Please feel free to submit a Pull Request or open an issue on the GitHub repository.

Disclaimer

MangaPlus is an unofficial library and is not affiliated with or endorsed by Shueisha. The library is provided "as is" without any warranty, and the usage of this library is at your own risk. Make sure to comply with the terms and conditions of the MangaPlus service while using this library.

License

The MangaPlus library is released under the MIT License. See LICENSE for details.

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

mangaplus-1.9.19.tar.gz (30.4 kB view hashes)

Uploaded Source

Built Distribution

mangaplus-1.9.19-py3-none-any.whl (31.2 kB view hashes)

Uploaded Python 3

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