== Testing OS API without programming ==
Steps:
1. Go to http://www.opensubtitles.org/addons/xml-rpc/debugger/
2. Fill: Address: '''api.opensubtitles.org''', Port: '''80''', Path: '''/xml-rpc'''
3. Check '''Execute method'''
4. Method Name: "'''LogIn'''", put in Payload this:
{{{
OS Test User Agent
}}}
5. press '''execute''' button
6. In response you will get something like:
{{{
token
oujbupj6fek9mc433qipaka1r2
}}}
take string (token) like "oujbupj6fek9mc433qipaka1r2" in our case, and:
7. 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)