Skip to content

Commit

Permalink
Add votes and rating to Image class
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jun 29, 2013
1 parent 9277e5b commit 0286ab5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tmdb3/tmdb_api.py
Expand Up @@ -197,6 +197,8 @@ class Image( Element ):
height = Datapoint('height')
width = Datapoint('width')
language = Datapoint('iso_639_1')
userrating = Datapoint('vote_average')
votes = Datapoint('vote_count')

def sizes(self):
return ['original']
Expand Down

0 comments on commit 0286ab5

Please sign in to comment.