Skip to content

Commit

Permalink
Correct URL for top rated Movie query to 'movie/top_rated'.
Browse files Browse the repository at this point in the history
  • Loading branch information
wagnerrp committed Aug 19, 2012
1 parent c1e6161 commit 52aed6e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -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']
Expand Down
7 changes: 4 additions & 3 deletions tmdb3/tmdb_api.py
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 52aed6e

Please sign in to comment.