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