Changes between Version 23 and Version 24 of XMLRPC


Ignore:
Timestamp:
Dec 16, 2008, 8:15:33 AM (15 years ago)
Author:
os
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XMLRPC

    v23 v24  
    446446'''Fields explanation:'''
    447447data is absolute link to subtitles.
     448
    448449----
    449450
     
    512513All field are self-explained.
    513514
     515----
    514516
    515517== !GetSubLanguages ==
     
    541543data - array of enabled subtitle languages. !SubLanguageID - iso639-2 3 characters code of language. !LanguageName - translated language name. ISO639 - ISO639-1 2 characters code.
    542544
     545----
     546
    543547== !GetAvailableTranslations ==
    544548'''array !GetAvailableTranslations( $token, $program )'''
     
    585589data - base64 encoded contents
    586590
     591----
     592
    587593== SearchMoviesOnIMDB ==
    588594'''array SearchMoviesOnIMDB( $token, $query )'''
     
    613619title - title of movie, id - imdbid/opensubtites movie id
    614620
     621----
    615622
    616623== GetIMDBMovieDetails ==
     
    649656All fields are self-explained.
    650657
     658----
    651659
    652660== !InsertMovie ==
     
    664672'''Fields explanation:'''
    665673id is idmovie in opensubtitles.org movie database for inserted movie. You can use it later for uploading subtitles.
     674
     675----
    666676
    667677== !SubtitlesVote ==
     
    686696!SubRating is average subrating for given subtitles. !SubSumVotes is how much times was voted for subtitles.
    687697
     698----
     699
     700== !GetComments ==
     701'''array !AddComment( $token, array($idsubtitle, $idsubtitle, ...))'''
     702
     703Returns comments for subtitles
     704
     705Example output:
     706{{{
     707    [status] => 200 OK
     708    [data] => Array
     709        (
     710            [_3387112] => Array
     711                (
     712                    [0] => Array
     713                        (
     714                            [IDSubtitle] => 3387112
     715                            [UserID] => 192696
     716                            [UserNickName] => neo_rtr
     717                            [Comment] => Greate Work. thank you
     718                            [Created] => 2008-12-14 17:20:42
     719                        )
     720
     721                )
     722            [_3385570] => Array
     723                (
     724                    [0] => Array
     725                        (
     726                            [IDSubtitle] => 3385570
     727                            [UserID] => 745565
     728                            [UserNickName] => pee-jay_cz
     729                            [Comment] => Thank you.
     730                            [Created] => 2008-12-12 15:21:48
     731                        )
     732                    [1] => Array
     733                        (
     734                            [IDSubtitle] => 3385570
     735                            [UserID] => 754781
     736                            [UserNickName] => Guzeppi
     737                            [Comment] => You're welcome :)
     738                            [Created] => 2008-12-12 15:51:01
     739                        )
     740                )
     741        )
     742    [seconds] => 0.02
     743}}}
     744 
     745'''Fields explanation:'''
     746All field are self-explained.
     747
     748----
     749
    688750== !AddComment ==
    689751'''array !AddComment( $token, array('idsubtitle' => $idsubtitle, 'comment' => $comment, 'badsubtitle' => $int) )'''
     
    703765All field are self-explained.
    704766
     767----
    705768
    706769== !AutoUpdate ==
     
    723786'''Fields explanation:'''
    724787All field are self-explained.
     788
     789----
    725790
    726791== !NoOperation ==