animedex.backends.quote
High-level AnimeChan Python API.
Thin wrappers over AnimeChan’s anonymous read endpoints. The upstream
free tier is limited to 5 requests per hour, so these helpers rely on
the dispatcher cache by default and expose the usual no_cache /
cache_ttl / rate kwargs for callers that need to override that
behaviour.
random
- animedex.backends.quote.random(*, config: Config | None = None, **kw) AnimeChanQuote[source]
Return one random AnimeChan quote.
- Returns:
Typed quote.
- Return type:
random_by_anime
random_by_character
quotes_by_anime
quotes_by_character
anime
selftest
- animedex.backends.quote.selftest() bool[source]
Smoke-test the public AnimeChan Python API.
Checks public callable signatures and exercises the default SQLite cache path so platform-specific cache directory resolution and schema creation are covered by the offline smoke test.
- Returns:
Trueon success.- Return type: