doganaydin/themoviedb — Issue #8: tmdb method arguements error
Author: appadappa
Created: 2011-10-20 14:54:57+00:00
State: open

Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tmdb
>>> mov = tmdb.search("Cars")[0]
>>> mov['rating']
'8.0'
>>> mov = tmdb.tmdb('Fight Club')
>>> mov.getRating()
Traceback (most recent call last):
File "", line 1, in
TypeError: getRating() takes exactly 2 arguments (1 given)
>>>