Skip to main content

Python client for the MangaPlus API.

Project description

PyMangaPlus

License Release Latest Version

PyMangaPlus 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 and read them online.
  • 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 unlike comments on manga chapters.

Installation

You can install PyMangaPlus using pip:

pip install pymangaplus

Usage

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

import secrets

from pymangaplus.client import Client
from pymangaplus.constants import Quality

if __name__ == "__main__":
    title_id = 100191  # OSHI NO KO
    chapter_id = 1014090  # Chapter 86: ASSISTANT DIRECTOR
    android_id = secrets.token_bytes(8).hex()

    client = Client()

    # Register new device
    client.register(android_id)

    # Home titles
    content = client.home()
    print(content)

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

For more information on how to use PyMangaPlus, please refer to the documentation.

Disclaimer

PyMangaPlus is an unofficial library and is not affiliated with or endorsed by MangaPlus or 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

This project is licensed under the GPL v3 License.

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

pymangaplus-1.1.2.tar.gz (27.2 kB view details)

Uploaded Source

File details

Details for the file pymangaplus-1.1.2.tar.gz.

File metadata

  • Download URL: pymangaplus-1.1.2.tar.gz
  • Upload date:
  • Size: 27.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for pymangaplus-1.1.2.tar.gz
Algorithm Hash digest
SHA256 ded0b1e6864e66c914dfca2719be55f975d286caa0f8a68a6993f93c88d323f2
MD5 5de93ea4f9ae972d59955f555f60a092
BLAKE2b-256 b67b84817ac7e23f9db6b490c7ef648e6d8aca191087afe58111d96240eafcf3

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