Git Product home page Git Product logo

pymangaplus's Introduction

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.

pymangaplus's People

Contributors

hyugogirubato avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.