Python client for the MangaPlus API.
Project description
PyMangaPlus
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 MangaPlus
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 = MangaPlus()
# 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
File details
Details for the file pymangaplus-1.1.1.tar.gz
.
File metadata
- Download URL: pymangaplus-1.1.1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79a6cdbd29bb3b72bb90860eeaa4bdcfffc1752db9169b592a27ead315ffed6a |
|
MD5 | 0e235612810ff0ca1049f3c61f384615 |
|
BLAKE2b-256 | 1b23c7abcc17f1cd7653d1cf8a671f6b02621e3808624311e40a85460f14aaad |