wiki:XmlRpcIntro

Version 1 (modified by guest, 16 years ago) (diff)

Created this page [Majky]

Introduction to OSDb

We decided use XMLRPC (see spec and implementations) as default API for opensubtitles.org.

Our API supports many methods so there should be no problems to code some nice client applications.

Wikipedia: XML-RPC is a very simple protocol, defining only a handful of data types and commands and the entire description can be printed on two pages of paper. This is in stark contrast to most RPC systems, where the standards documents often run into the hundreds of pages and require considerable software support in order to be used.

Instructions

XMLRPC methods

Session handling

  • LogIn - login user and start session

struct LogIn( string $username, string $password, string $language, string $useragent )

  • LogOut - logout user
  • NoOperation - keep-alive user's session, verify token/session validity

Search and download

Upload

Movies

Reporting and rating

User interface

Checking

Credits

  • 2ge - writer of OSDb XML-RPC server-side implementation
  • eduo - supplier of various example inputs/outputs
  • all other contributors