def getMovieRatingForUser(self, movieId, idType='imdb'): ratings = {} with Trakt.configuration.oauth.from_response(self.authorization): with Trakt.configuration.http(retry=True): Trakt['sync/ratings'].movies(ratings) return findMovieMatchInList(movieId, ratings, idType)
def getMovieRatingForUser(self, movieId, idType='imdb'): ratings = {} with Trakt.configuration.oauth.from_response(self.authorization): with Trakt.configuration.http(retry=True): Trakt['sync/ratings'].movies(store=ratings) return findMovieMatchInList(movieId, ratings, idType)