Ejemplo n.º 1
0
 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)
Ejemplo n.º 2
0
 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)