TraktSeasonsApi

class TraktSeasonsApi(client: HttpClient)

Constructors

Link copied to clipboard
constructor(client: HttpClient)

Functions

Link copied to clipboard
suspend fun getRatings(showId: String, seasonNumber: Int): TraktRating

Returns rating (between 0 and 10) and distribution for a season.

Link copied to clipboard
suspend fun getSeason(showId: String, seasonNumber: Int, extended: TraktExtended? = null): List<TraktEpisode>

Returns all episodes for a specific season of a show.

Link copied to clipboard
suspend fun getSummary(showId: String, extended: TraktExtended? = null): List<TraktSeason>

Returns all seasons for a show including the number of episodes in each season.