Changes between Version 6 and Version 7 of XMLRPC


Ignore:
Timestamp:
Sep 9, 2008, 9:43:00 AM (16 years ago)
Author:
os
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XMLRPC

    v6 v7  
    357357'''array !DownloadSubtitles( $token, array($IDSubtitleFile, $IDSubtitleFile,...) )'''
    358358
    359 Returns BASE64 encoded gzipped !IDSubtitleFile(s). You need to BASE64 decode and ungzip 'data' to get its contents.
     359Returns BASE64 encoded gzipped IDSubtitleFile(s). You need to BASE64 decode and ungzip 'data' to get its contents.
    360360
    361361Example output:
     
    472472'''array SearchMoviesOnIMDB( $token, $query )'''
    473473
    474 Returns array of movies, which was found on imdb.com, query is first fixed for some strings (deleted dvdrip and so on)
     474Returns 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).
    475475
    476476Example output for 'troy':
     
    495495 
    496496'''Fields explanation:'''
    497 title - title of movie, id - imdbid
     497title - title of movie, id - imdbid/opensubtites movie id
    498498
    499499
     
    532532'''Fields explanation:'''
    533533All fields are self-explained.
     534
     535== InsertMovie ==
     536'''array InsertMovie( $token, array('moviename' => $moviename, 'movieyear' => $movieyear) )'''
     537
     538Allows 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
     540Example output:
     541{{{
     542    [status] => 200 OK
     543    [seconds] => 0.441
     544}}}
     545 
     546'''Fields explanation:'''
     547All field are self-explained.
    534548
    535549