[[PageOutline(3-4, Sections)]] == !ServerInfo == === Intro === get some basic server information ---- === Description === '''struct !ServerInfo()''' This function returns a structure with basic server information (urls, contacts) and some statistics, including number of users currently online. ---- === Parameters === this function has no parameters ---- === Return Values === Output is returned in this structure: {{{ struct( (string) [xmlrpc_version], (string) [xmlrpc_url], (string) [application], (string) [contact], (string) [website_url], (string) [users_online_total], (string) [users_online_program], (string) [users_loggedin], (string) [users_max_alltime], (string) [users_registered], (string) [subs_downloads], (string) [subs_subtitle_files], (string) [movies_total], (string) [movies_aka], (string) [total_subtitles_languages], struct( (string) [], ... more languages go here ... ) [last_update_strings], (double) [seconds] ) }}} and contains these elements: ''xmlrpc_version'':: version of server's XML-RPC API implementation ''xmlrpc_url'':: XML-RPC interface URL ''application'':: server's application name and version ''contact'':: contact e-mail address for server related quuestions and problems ''website_url'':: main server URL ''users_online_total'':: number of users currently online ''users_online_program'':: number of users currently online using a client application (XML-RPC API) ''users_loggedin'':: number of currently logged-in users ''users_max_alltime'':: maximum number of users throughout the history ''users_registered'':: number of registered users ''subs_downloads'':: total number of subtitle downloads ''subs_subtitle_files'':: total number of subtitle files stored on the server ''movies_total'':: total number of movies in the database ''movies_aka'':: total number of movie A.K.A. titles in the database ''total_subtitles_languages'':: total number of subtitle languages supported ''last_update_strings'':: structure containing information about last updates of translations ''seconds'':: time taken to execute this command on server ---- === Implementations === There are currently no available sample implementations. ---- === Changelog === Version 1: created this function ---- === Examples === ==== Input ==== {{{ #!xml ServerInfo }}} ==== Output ==== {{{ #!xml xmlrpc_version 0.1 xmlrpc_url http://www.opensubtitles.org/xml-rpc application OpenSuber v0.2 contact ... admin's e-mail address goes here ... website_url http://www.opensubtitles.org users_online_total 2024 users_online_program 732 users_loggedin 48 users_max_alltime 9465 users_registered 525040 subs_downloads 94110800 subs_subtitle_files 642475 movies_total 39502 movies_aka 59974 total_subtitles_languages 50 last_update_strings en 2007-02-03 21:36:14 ... more languages ... seconds 0.006 }}} ---- === Notes === none yet ---- === See also === ---- === Comments === add your comments, hints and suggestions here if you like ... -------- [Prev] [wiki:XmlRpcIntro Home] [Next]