animedex.api.jikan

animedex api jikan raw passthrough.

Jikan v4 is a REST proxy over MyAnimeList. Anonymous, no headers required.

Backend: Jikan v4 (api.jikan.moe).

Rate limit: 60 req/min (no per-second cap documented).

— LLM Agent Guidance — Common read paths: /anime/{mal_id}, /anime?q=..., /seasons/{year}/{season}, /anime/{id}/characters, /anime/{id}/episodes, /random/anime. The raw method argument is forwarded verbatim. Pagination is ?page=N&limit=M with the response carrying a pagination envelope. Errors land as JSON with status / type / message / error; HTTP status mirrors the upstream (404 for missing entity, 500 when MAL itself is unreachable). — End —

call

animedex.api.jikan.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 Jikan request and return its envelope.

selftest

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

Smoke-test the Jikan passthrough.