JikanKt / moe.ganen.jikankt / JikanKt / getTopAnime

getTopAnime

suspend fun getTopAnime(page: Int? = 1, subtype: TopSubtype? = TopSubtype.NONE): TopAnime

Function to get all top anime on MyAnimeList.

Parameters

subtype - : Optional, subtype type (upcoming, airing, etc).

page - : Optional, default is 1. Index of page, each page contain 50 items.

Return
List of top anime on MyAnimeList.