Changes between Version 6 and Version 7 of XMLRPC
- Timestamp:
- Sep 9, 2008, 9:43:00 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
XMLRPC
v6 v7 357 357 '''array !DownloadSubtitles( $token, array($IDSubtitleFile, $IDSubtitleFile,...) )''' 358 358 359 Returns BASE64 encoded gzipped !IDSubtitleFile(s). You need to BASE64 decode and ungzip 'data' to get its contents.359 Returns BASE64 encoded gzipped IDSubtitleFile(s). You need to BASE64 decode and ungzip 'data' to get its contents. 360 360 361 361 Example output: … … 472 472 '''array SearchMoviesOnIMDB( $token, $query )''' 473 473 474 Returns array of movies, which was found on imdb.com , query is first fixed for some strings (deleted dvdrip and so on)474 Returns array of movies, which was found on imdb.com and in opensubtitles internal movie database where id starts at 10000000. Query is first fixed for some strings (deleted dvdrip and so on). 475 475 476 476 Example output for 'troy': … … 495 495 496 496 '''Fields explanation:''' 497 title - title of movie, id - imdbid 497 title - title of movie, id - imdbid/opensubtites movie id 498 498 499 499 … … 532 532 '''Fields explanation:''' 533 533 All fields are self-explained. 534 535 == InsertMovie == 536 '''array InsertMovie( $token, array('moviename' => $moviename, 'movieyear' => $movieyear) )''' 537 538 Allows logged users insert new movies to opensubtitles internal movie database, which are not in IMDB.com. When user enters movie name and movie year call SearchMoviesOnIMDB() where are returned movies stored in imdb.com and opensubtitles.org, after users checks movie is not there, allow him to insert new movie to avoid duplicates. 539 540 Example output: 541 {{{ 542 [status] => 200 OK 543 [seconds] => 0.441 544 }}} 545 546 '''Fields explanation:''' 547 All field are self-explained. 534 548 535 549