TraktListsApi

class TraktListsApi(client: HttpClient)

Constructors

Link copied to clipboard
constructor(client: HttpClient)

Functions

Link copied to clipboard
suspend fun getList(listId: String, extended: TraktExtended? = null): TraktList
Link copied to clipboard
suspend fun getListComments(listId: String, sort: String = "newest", page: Int = 1, limit: Int = 10): List<TraktComment>
Link copied to clipboard
suspend fun getListItems(listId: String, type: String? = null, page: Int = 1, limit: Int = 10, extended: TraktExtended? = null): List<TraktUserListItem>
Link copied to clipboard
suspend fun getPopular(page: Int = 1, limit: Int = 10): List<TraktPopularList>
Link copied to clipboard
suspend fun getTrending(page: Int = 1, limit: Int = 10): List<TraktTrendingList>
Link copied to clipboard
suspend fun likeList(listId: String): HttpResponse
Link copied to clipboard
suspend fun unlikeList(listId: String): HttpResponse