MangaDex.py
An easy to use, MangaDex API Wrapper using Requests - aiming to be simple and efficient.
Installation
pip install --upgrade MangaDex.py
Quick start
Example
Logging in and getting the latest chapter from a manga:
# Import the MangaDexPy library
import MangaDexPy
cli = MangaDexPy.MangaDex()
cli.login("username", "password")
# Get manga with id b9797c5b-642e-44d9-ac40-8b31b9ae110a.
manga = cli.get_manga("b9797c5b-642e-44d9-ac40-8b31b9ae110a")
print(manga.title + "'s latest volume:")
print(manga.last_volume)
print(manga.title + "'s latest chapter:")
print(manga.last_chapter)
Here's the terminal output:
You can find more examples on this page
Explanation
cli = MangaDexPy.MangaDex() returns the client object used to make calls.
cli.login(u ,p) logs in to MangaDex using credentials stored in variables.
manga = cli.get_manga("b9797c5b-642e-44d9-ac40-8b31b9ae110a", full=True) returns a Manga object, which contains the last_volume and last_chapter properties.
Documentation
The full API documentation is available in this repository's wiki.
Metadata
Release files for MangaDex.py 2.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| MangaDex.py-2.0.10.tar.gz | 10.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| MangaDex.py-2.0.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.5 kB
Release files / MangaDex.py-2.0.10.tar.gz
| Download URL | MangaDex.py-2.0.10.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
52c6303123f800697e352ac083f3eacee574c8a17cb9f0ff5195eb84c9623011
|
|
BLAKE2b-256 checksum How to use checksums |
2081b1e09b33fe8f58562c93ee282c0c8bd3d93a76b82db2ecdbef942eb67ed0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|
Release files / MangaDex.py-2.0.10-py3-none-any.whl
| Download URL | MangaDex.py-2.0.10-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e9dbb0341389490e7dd01104135c69e29470fea79af4d85055a54550ef578d6e
|
|
BLAKE2b-256 checksum How to use checksums |
63200cb8a6331bb25403dc1509964176a6b18a93b6e22ce8d5a2b828472b7a57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|