getAnimeRanking

suspend fun getAnimeRanking(rankingType: AnimeRankingType, limit: Int? = null, offset: Int? = null, fields: List<AnimeField>? = null): PaginatedList<RankedAnime>

Retrieves anime ranking.

Return

A PaginatedList of RankedAnimeModel.

Parameters

rankingType

The type of ranking to retrieve.

limit

The maximum number of results to return.

offset

The number of results to skip.

fields

The list of optional fields to include in the response.

See also