Skip to main content

An asynchronous wrapper around the MangaDex v5 API

Project description

Discord Server


A lightweight and asynchronous wrapper around the MangaDex v5 API. You can see our stable docs here!


Features

We are currently at 100% feature compliance with the API.

Examples

Please take a look at the examples directory for working examples.

NOTE: More examples will follow as the library is developed.

Current caveats to note

  • There are no API endpoints for Artist. It seems they are not differentiated from Author types except in name only.
    • I have separated them logically, but under the hood all Artists are Authors and their __eq__ reports as such.
  • The tags and report reasons are locally cached since you must pass UUIDs to the api (and I do not think you're going to memorize those), there's a convenience method for updating the local cache as Client.update_tags and Client.update_report_reasons respectively.
    • I have added an example on how to do the above for tags.
    • To use these tags, you can see an example here.
  • Settings related endpoints are not currently exposed. I have implemented their documented use, but I do not expect them to currently function.
    • Once this is exposed fully I will implement a richer interface.
  • Currently, if there are any errors in a chapter upload process, the error key does not contain filenames or identifiable information on exactly what file failed upload.
    • This means that I locally compare the succeeded files with the ones missing from the full response payload. The examples have been updated with how to check for an error.
  • Currently, the Client.my_chapter_read_history method will not work. It is disabled on MD's side due to an issue they had previously. If/when it is re-introduced the method will remain the same.

Further information/tidbits

  • For a bit more clarity on a Chapter's readableAt vs publishAt, see this page on the MangaDex docs.
  • A query with the include_future_updates bool set to True will include chapters that are pending release by scanlation groups on MangaDex, but which may be available on their sites.

How to request your own personal OAuth2 Client.

For authentication with hondana to work, you'll need to create and request your own personal OAuth2 client within the MangaDex web portal. This can be done here (under the "API Clients" section).

Within here you'll want to hit "Create":- api client

Fill out the relevant name and description of the api client, and hit "Create" once again.

This is currently (as of 10th Nov 2023) still a manual review and approval process by the MangaDex team, so check back regularly to find out if your client is active or still awaiting review.

Once it is active, you can fetch it's client id and client secret:- api client details

You then pass this information to the hondana.Client constructor alongside your username and password for MangaDex, as this will be used to authenticate you within the API.

Contributing

If you would like to contribute to Hondana, please take a look at the contributing guidelines and follow the procedure there.

If you have any question please feel free to join my Discord server:

Project details


Release history Release notifications | RSS feed

This version

3.7.5

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hondana-3.7.5.tar.gz (373.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hondana-3.7.5-py3-none-any.whl (143.5 kB view details)

Uploaded Python 3

File details

Details for the file hondana-3.7.5.tar.gz.

File metadata

  • Download URL: hondana-3.7.5.tar.gz
  • Upload date:
  • Size: 373.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.7

File hashes

Hashes for hondana-3.7.5.tar.gz
Algorithm Hash digest
SHA256 b44216c8c2c7211712f5d8ce27dab6a9468038899c734c06fa3c8cb8cfb6dd03
MD5 720ebcdd6bba7a04a9ff62b04f908423
BLAKE2b-256 5408c4ec8d96a0757f3e9993d95b726453a90c6723669b9e3a7ecf947a94001c

See more details on using hashes here.

File details

Details for the file hondana-3.7.5-py3-none-any.whl.

File metadata

  • Download URL: hondana-3.7.5-py3-none-any.whl
  • Upload date:
  • Size: 143.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.7

File hashes

Hashes for hondana-3.7.5-py3-none-any.whl
Algorithm Hash digest
SHA256 30075832251e212c557c6bebaa855b0b41a9baa4b08edb268fd09a09cf656319
MD5 1b6cee0e63d9daa48ab78aa7a5f0fda6
BLAKE2b-256 cbb65d5268771f2341d736983d34ddcca25a578b5724c39f5409ea5d4cb18856

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page