[imdb] get movie with imdbapi

This commit is contained in:
Julien Veyssier 2013-03-04 13:30:21 +01:00
commit ce64153161
4 changed files with 87 additions and 33 deletions

View file

@ -29,12 +29,12 @@ class Movie(CapBaseObject):
Movie object.
"""
original_title = StringField('Original title of the movie')
other_titles = StringField('Titles in other languages')
other_titles = Field('Titles in other countries',list)
release_date = DateField('Release date of the movie')
duration = IntField('Duration of the movie in minutes')
description = StringField('Short description of the movie')
country = StringField('Origin country of the movie')
note = StringField('Notation of the movie')
awards = Field('Awards won by the movie',list)
roles = Field('Lists of Persons related to the movie indexed by roles',dict)
def __init__(self, id, original_title):