== Testing OS API without programming ==
Steps:
* Go to http://www.opensubtitles.org/addons/xml-rpc/debugger/
* Fill: Address: '''api.opensubtitles.org''', Port: '''80''', Path: '''/xml-rpc'''
* Check '''Execute method'''
* Method Name: "'''!LogIn'''", put in Payload this:
{{{
OS Test User Agent
}}}
* press '''execute''' button
* In response you will get something like:
{{{
token
oujbupj6fek9mc433qipaka1r2
}}}
take string (token) like "oujbupj6fek9mc433qipaka1r2" in our case, and:
* put into Method Name: '''!SearchSubtitles''', replace token with your, put in payload:
{{{
oujbupj6fek9mc433qipaka1r2
sublanguageid
cze,eng,ger,slo
moviehash
7d9cd5def91c9432
moviebytesize
735934464
}}}
and you should get response like:
{{{
status
200 OK
data
MatchedBy
moviehash
IDSubMovieFile
143481
MovieHash
7d9cd5def91c9432 ...
}}}
remember:
* you must use valid useragent (test user agent is valid one for test purposes only)
* your session must be valid (so don't call !SearchSubtitles() after 30 minutes after !LogIn(), session might be expired)