From 52aed6e16fc767809e34ddf517a311a40b053ca9 Mon Sep 17 00:00:00 2001 From: Raymond Wagner Date: Sat, 18 Aug 2012 20:25:47 -0400 Subject: [PATCH] Correct URL for top rated Movie query to 'movie/top_rated'. --- setup.py | 2 +- tmdb3/tmdb_api.py | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 3211e4f6c63..218e513ccf6 100755 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setup( name='tmdb3', - version='0.6.10', + version='0.6.11', description='TheMovieDB.org APIv3 interface', long_description="Object-oriented interface to TheMovieDB.org's v3 API.", packages=['tmdb3'] diff --git a/tmdb3/tmdb_api.py b/tmdb3/tmdb_api.py index aa88bed88b7..457d927c94d 100644 --- a/tmdb3/tmdb_api.py +++ b/tmdb3/tmdb_api.py @@ -22,7 +22,7 @@ Preliminary API specifications can be found at http://help.themoviedb.org/kb/api/about-3""" -__version__="v0.6.10" +__version__="v0.6.11" # 0.1.0 Initial development # 0.2.0 Add caching mechanism for API queries # 0.2.1 Temporary work around for broken search paging @@ -52,7 +52,8 @@ # 0.6.7 Add support for searching by year # 0.6.8 Add support for collection images # 0.6.9 Correct Movie image language filtering -# 0.6.10 Add upcoming movie classmethod. +# 0.6.10 Add upcoming movie classmethod +# 0.6.11 Fix URL for top rated Movie query from request import set_key, Request from util import Datapoint, Datalist, Datadict, Element, NameRepr, SearchRepr @@ -403,7 +404,7 @@ def mostpopular(cls, locale=None): @classmethod def toprated(cls, locale=None): - res = MovieSearchResult(Request('movie/top-rated'), locale=locale) + res = MovieSearchResult(Request('movie/top_rated'), locale=locale) res._name = 'Top Rated' return res