Changes between Version 74 and Version 75 of XMLRPC
- Timestamp:
- Oct 2, 2014, 4:44:14 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
XMLRPC
v74 v75 875 875 == !SetSubscribeUrl == 876 876 '''array !SetSubscribeUrl( $token, $url )''' 877 877 878 Set webhook $url. Use HTTP (HTTPS was not tested). Example $url can be 'http://www.opensubtitles.org/addons/webhook-test.php'. To this url will be POSTed results of !SubscribeToHash() 878 879 Example output: … … 889 890 All field are self-explained. 890 891 892 ---- 893 891 894 == !SubscribeToHash == 892 895 '''array !SubscribeToHash( $token, array ($moviehash, $moviehash, ... ) )''' 896 893 897 Subscribes to $moviehash. Once subtitle is linked to $moviehash, !SearchSubtitles() results are POSTed to $url (set in !SetSubscribeUrl()). This method is implementation of webhook, it is useful, when you got some moviehashes and you don't want to scan OpenSubtitles for subtitles for performance reason. 894 898 … … 902 906 ) 903 907 }}} 908 904 909 '''Fields explanation:''' 905 910 All field are self-explained. 906 911 912 ---- 907 913 908 914 == !AutoUpdate ==