Manga

class Manga

Handles manga-related operations.

Functions

Link copied to clipboard
suspend fun deleteUserMangaListItem(mangaId: Int)

Removes a manga from the user's manga list.

Link copied to clipboard
suspend fun getMangaDetails(mangaId: Int, fields: List<MangaField>? = null): Manga

Retrieves details for a specific manga.

Link copied to clipboard
suspend fun getMangaList(query: String? = null, limit: Int? = null, offset: Int? = null, fields: List<MangaField>? = null): PaginatedList<Manga>

Searches for manga based on a query.

Link copied to clipboard
suspend fun getMangaRanking(rankingType: MangaRankingType, limit: Int? = null, offset: Int? = null, fields: List<MangaField>? = null): PaginatedList<RankedManga>

Retrieves manga ranking.

Link copied to clipboard
suspend fun getUserMangaList(userName: String = "@me", status: UserMangaListStatusType? = null, sortOption: UserMangaListSortOption? = null, limit: Int? = null, offset: Int? = null): PaginatedList<UserMangaListItem>

Retrieves the manga list of a user.

Link copied to clipboard
suspend fun updateUserMangaListStatus(mangaId: Int, status: UserMangaListStatusType? = null, isRereading: Boolean? = null, score: Int? = null, numVolumesRead: Int? = null, numChaptersRead: Int? = null, priority: Int? = null, numTimesReread: Int? = null, rereadValue: Int? = null, tags: List<String>? = null, comments: String? = null): UserMangaListStatus

Updates or adds a manga to the user's manga list.