animedex.api.mangadex

animedex api mangadex raw passthrough.

Backend: MangaDex (api.mangadex.org).

Rate limit: ~5 req/sec global per IP; 40/min on /at-home/server/{id}.

— LLM Agent Guidance — UA mandatory at the wire (returns HTTP 400 on empty UA). The transport injects animedex/<version> automatically. Pagination is ?limit=N&offset=M capped at offset+limit<=10000. Common read paths: /manga?title=..., /manga/{id}, /manga/{id}/feed, /at-home/server/{chapter-id}. The raw method argument is forwarded verbatim. Errors land as {"result":"error","errors":[...]}. Anonymous reads cover everything the substrate API layer cares about; OAuth via Personal Client unlocks user library and is out of the substrate API layer scope. — End —

call

animedex.api.mangadex.call(path: str, *, method: str = 'GET', headers: Dict[str, str] | None = None, params: dict | None = None, no_cache: bool = False, cache_ttl: int | None = None, rate: str = 'normal', follow_redirects: bool = True, user_agent: str | None = None, timeout_seconds: float | None = None, cache=None, session=None, rate_limit_registry=None, config=None) RawResponse[source]

Issue a MangaDex request and return its envelope.

selftest

animedex.api.mangadex.selftest() bool[source]

Smoke-test the MangaDex passthrough.