JikanKt / moe.ganen.jikankt / JikanKt / getGenreType

getGenreType

suspend fun getGenreType(requestType: RequestType, genreId: Int, page: Int? = 1): Genre

Function to get genre detail on MyAnimeList.

Parameters

requestType - : Request type (anime, manga).

genreId - : Genre ID from MyAnimeList.

page - : Optional, default is 1. Index of page.

Return
Genre detail on MyAnimeList with list of anime/manga on that genre, paginated.