Changes between Version 6 and Version 7 of XmlRpcIntro
- Timestamp:
- Oct 12, 2008, 5:03:59 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
XmlRpcIntro
v6 v7 62 62 = XML-RPC methods = 63 63 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 ---- 64 70 == Session handling == 65 71 * [wiki:XmlRpcLogIn LogIn] - login user and start session … … 71 77 72 78 79 ---- 73 80 == Search and download == 74 81 * [wiki:XmlRpcSearchSubtitles SearchSubtitles] - search for subtitles using video hashes or IMDb ID … … 80 87 81 88 89 ---- 82 90 == Upload == 83 91 * [wiki:XmlRpcTryUploadSubtitles TryUploadSubtitles] - check subtitles before uploading … … 87 95 88 96 97 ---- 89 98 == 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)''' 92 103 * [wiki:XmlRpcInsertMovie InsertMovie] - insert a new movie 104 '''struct !InsertMovie(string $token, struct('moviename' => string $moviename, 'movieyear' => string $movieyear) $movieinfo)''' 93 105 94 106 107 ---- 95 108 == Reporting and rating == 96 109 * [wiki:XmlRpcServerInfo ServerInfo] - get basic server information and statistics … … 101 114 102 115 116 ---- 103 117 == User interface == 104 118 * [wiki:XmlRpcGetSubLanguages GetSubLanguages] - get supported subtitle languages 105 119 '''struct !GetSubLanguages(string $language = 'en')''' 106 120 * [wiki:XmlRpcDetectLanguage DetectLanguage] - detect language for given text 121 '''struct !DetectLanguage(string $token, array($text, $text, ...) $data)''' 107 122 * [wiki:XmlRpcGetAvailableTranslations GetAvailableTranslations] - get list of available translations for a client application 108 123 '''struct !GetAvailableTranslations(string $token, string $program)''' … … 113 128 114 129 130 ---- 115 131 == Checking == 116 132 * [wiki:XmlRpcCheckMovieHash CheckMovieHash] - check if video files are already stored in the database … … 120 136 121 137 138 ---- 122 139 = Credits = 123 * 2ge - writer of OSDb XML-RPC server-side implementation140 * 2ge - developer of OSDb XML-RPC server-side implementation 124 141 * eduo - supplier of various example inputs/outputs 125 142 * all other contributors