animedex.api.kitsu
animedex api kitsu raw passthrough.
Backend: Kitsu (kitsu.io/api/edge; kitsu.app/api/edge accepted).
Rate limit: not formally published; self-imposed 10/sec polite cap.
— LLM Agent Guidance —
JSON:API. Inject Accept: application/vnd.api+json automatically.
Pagination uses page[offset]=N&page[limit]=M. Common read paths:
/anime?filter[text]=Frieren&page[limit]=5&include=streamingLinks,
/anime/{id}, /anime/{id}/streaming-links,
/anime/{id}/mappings (cross-source IDs). The raw method
argument is forwarded verbatim. Both kitsu.io and kitsu.app serve
identical data; the canonical default is .io. Anonymous reads cover
the surface; a token unlocks user library / private data.
— End —
call
- animedex.api.kitsu.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, base_url: str | None = None, cache=None, session=None, rate_limit_registry=None, config=None) RawResponse[source]
Issue a Kitsu request and return its envelope.