[[PageOutline(3-4, Sections)]] == GetIMDBMovieDetails == === Intro === get details about given movie ---- === Description === '''struct GetIMDBMovieDetails(string $token, string $imdbid)''' Returns structure with movie information about given movie $imdbid containing movie title, release year, directors, cast, ... All information is gathered from [http://www.imdb.com IMDb]. ---- === Parameters === {{{ struct( (string) [token], (string) [imdbid] ) }}} ''token (required)'':: token string identifying user's session, taken from [wiki:XmlRpcLogIn LogIn] output structure. ''imdbid (required)'':: IMDb ID of requested movie, can be taken from results of [wiki:XmlRpcSearchMoviesOnIMDB SearchMoviesOnIMDB()] ---- === Return Values === Output is returned in this structure: {{{ struct( (string) [status], struct( (string) [id], (string) [title], (string) [year], (string) [cover], struct( (string) [], (string) [id], ... ) [cast], struct( (string) [], (string) [id], ... ) [directors], struct( (string) [], (string) [id], ... ) [writers], (string) [awards], array( (string) [genre], (string) [genre], ... ) [genres], array( (string) [country], (string) [country], ... ) [country], array( (string) [language], (string) [language], ... ) [language], (string) [duration], array( (string) [certification], (string) [certification], ... ) [certification], (string) [tagline], (string) [plot], (string) [goofs], (string) [trivia], (string) [request_from] ) [data], (double) [seconds] ) }}} and contains these elements: ''status'':: function result code, see [wiki:XmlRpcStatusCode list of status codes] ''data'':: structure containing movie information ''seconds'':: time taken to execute this command on server ---- === Implementations === There are currently no available sample implementations. ---- === Changelog === Version 1: created this function ---- === Examples === ==== Input ==== {{{ #!xml GetIMDBMovieDetails d0iot4l0teqk9nmn3s99bdhsh3 0088763 }}} ==== Output ==== This structure might be incomplete (or extended later). Not sure if these values are returned: rating, aka. {{{ #!xml status 200 OK data id 0088763 title Back to the Future year 1985 cover http://ia.media-imdb.com/images/M/MV5BMTkzNDQyMjc0OV5BMl5BanBnXkFtZTcwNDQ4MDYyMQ@@._V1._SX100_SY133_.jpg cast _0000150 Michael J. Fox _0000502 Christopher Lloyd _0000670 Lea Thompson ... more cast members go here (if any) ... directors _0000709 Robert Zemeckis ... more directors go here (if any) ... writers _0000709 Robert Zemeckis _0301826 Bob Gale awards Won Oscar. Another 12 wins & 22 nominations genres Adventure Comedy Sci-Fi ... more genres go here (if any) ... country USA language English duration 117 min certification UK Italy Australia USA tagline He's the only kid ever to get into trouble before he was born. [UK] plot In 1985, Doc Brown invented time travel, in 1955, Marty McFly accidentally prevented his parents from meeting, putting his own existence at stake. goofs Continuity: A picture on the table below Biff, and the candy in Biff's hand when he is talking to George about his car in 1985. trivia The space alien gag first appeared in the screenplay's third draft, with the primary difference being that it was to be done to Biff. request_from cache seconds 0.535 }}} ---- === Notes === none yet ---- === See also === * [wiki:XmlRpcSearchMoviesOnIMDB SearchMoviesOnIMDB()] ---- === Comments === add your comments, hints and suggestions here if you like ... -------- [Prev] [wiki:XmlRpcIntro Home] [Next]