def getSeasonRatingForUser(self, showId, season, idType='tvdb'): ratings = {} with Trakt.configuration.oauth.from_response(self.authorization): with Trakt.configuration.http(retry=True): Trakt['sync/ratings'].seasons(ratings) return findSeasonMatchInList(showId, season, ratings, idType)
def getSeasonRatingForUser(self, showId, season, idType='tvdb'): ratings = {} with Trakt.configuration.oauth.from_response(self.authorization): with Trakt.configuration.http(retry=True): Trakt['sync/ratings'].seasons(store=ratings) return findSeasonMatchInList(showId, season, ratings, idType)