예제 #1
0
 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)
예제 #2
0
 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)