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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file mangaplus-1.9.19.tar.gz.

File metadata

  • Download URL: mangaplus-1.9.19.tar.gz
  • Upload date:
  • Size: 30.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.11 Windows/10

File hashes

Hashes for mangaplus-1.9.19.tar.gz
Algorithm Hash digest
SHA256 2a728ffcec34e4d0037dc2a6de4aa919ef71e4384c30c371b978d037ebeee530
MD5 322617f6c0bff08b0a63c1ff8a9c0403
BLAKE2b-256 d2c55b42690b89d62c21a2fefe3352ad9b838e84bef62bded06aba34b4569a3b

See more details on using hashes here.

File details

Details for the file mangaplus-1.9.19-py3-none-any.whl.

File metadata

  • Download URL: mangaplus-1.9.19-py3-none-any.whl
  • Upload date:
  • Size: 31.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.11 Windows/10

File hashes

Hashes for mangaplus-1.9.19-py3-none-any.whl
Algorithm Hash digest
SHA256 4a8f99cfd290c77e132c15370fe829d7713e676a55b8fb93be4ab3bd32f2e713
MD5 6a9220d11e1a611dae35eb6769697a7f
BLAKE2b-256 18b5f66c47dff35c9defc1e728bd0f987da4df2201b945d2ea3cb51d38666216

See more details on using hashes here.

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