Changes between Version 6 and Version 7 of XmlRpcIntro


Ignore:
Timestamp:
Oct 12, 2008, 5:03:59 PM (16 years ago)
Author:
majky
Comment:

Updated 'Movies' section

Legend:

Unmodified
Added
Removed
Modified
  • XmlRpcIntro

    v6 v7  
    6262= XML-RPC methods =
    6363
     64  Every method returns a XML-RPC ''struct'' data type.
     65 
     66  In OpenSubtitles.org most XML-RPC API server-side implementation most single-type variables in method output are of type ''string'' (even though you might expect ''int'' so beware) 
     67 
     68
     69----
    6470== Session handling ==
    6571  * [wiki:XmlRpcLogIn LogIn] - login user and start session
     
    7177
    7278
     79----
    7380== Search and download ==
    7481  * [wiki:XmlRpcSearchSubtitles SearchSubtitles] - search for subtitles using video hashes or IMDb ID
     
    8087
    8188
     89----
    8290== Upload ==
    8391  * [wiki:XmlRpcTryUploadSubtitles TryUploadSubtitles] - check subtitles before uploading
     
    8795
    8896
     97----
    8998== Movies ==
    90   * [wiki:XmlRpcSearchMoviesOnIMDB SearchMoviesOnIMDB] -
    91   * [wiki:XmlRpcGetIMDBMovieDetails GetIMDBMovieDetails] - get movie details fro given IMDb ID
     99  * [wiki:XmlRpcSearchMoviesOnIMDB SearchMoviesOnIMDB] - search for a movie (using movie title)
     100      '''struct SearchMoviesOnIMDB(string $token, string $query)'''
     101  * [wiki:XmlRpcGetIMDBMovieDetails GetIMDBMovieDetails] - get movie details for given IMDb ID
     102      '''struct GetIMDBMovieDetails(string $token, string $imdbid)'''
    92103  * [wiki:XmlRpcInsertMovie InsertMovie] - insert a new movie
     104      '''struct !InsertMovie(string $token, struct('moviename' => string $moviename, 'movieyear' => string $movieyear) $movieinfo)'''
    93105
    94106
     107----
    95108== Reporting and rating ==
    96109  * [wiki:XmlRpcServerInfo ServerInfo] - get basic server information and statistics
     
    101114
    102115
     116----
    103117== User interface ==
    104118  * [wiki:XmlRpcGetSubLanguages GetSubLanguages] - get supported subtitle languages
    105119      '''struct !GetSubLanguages(string $language = 'en')'''
    106120  * [wiki:XmlRpcDetectLanguage DetectLanguage] - detect language for given text
     121      '''struct !DetectLanguage(string $token, array($text, $text, ...) $data)'''
    107122  * [wiki:XmlRpcGetAvailableTranslations GetAvailableTranslations] - get list of available translations for a client application
    108123      '''struct !GetAvailableTranslations(string $token, string $program)'''
     
    113128
    114129
     130----
    115131== Checking ==
    116132  * [wiki:XmlRpcCheckMovieHash CheckMovieHash] - check if video files are already stored in the database
     
    120136
    121137
     138----
    122139= Credits =
    123   * 2ge - writer of OSDb XML-RPC server-side implementation
     140  * 2ge - developer of OSDb XML-RPC server-side implementation
    124141  * eduo - supplier of various example inputs/outputs
    125142  * all other contributors