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.3.tar.gz (27.2 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pymangaplus-1.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 a3171c98e2ae98d80d62dd765307986cb96a0dab8135fcdb6fe6dc506e89b1b7
MD5 f1fde0443466726cc1f945e37da0b936
BLAKE2b-256 d862f6ec2e8f068c468cf6c1b825d3f9c6e055a7e9b6b842b9d6ce5cb58b155b

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