How to use rapidshare api?

I am trying to use apid rapidshare but don’t know exactly how to use it?

http://api.rapidshare.com/cgi-bin/rsapi.cgi?subroutine=getaccountdetails_v1&type=prem&login=MY_USERNAME&password=MY_PASSWORD

after using this I get the error "ERROR: Subroutine is invalid."

Can someone tell me what is wrong with my link?

+3
source share
2 answers

The problem is that the API defines the subroutine as subroutine=getaccountdetails_v1what is actually required sub=getaccountdetails_v1. This applies to all subroutine calls.

This should work

http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=getaccountdetails_v1&type=prem&login=MY_USERNAME&password=MY_PASSWORD

Press here

+4
source

Source: https://habr.com/ru/post/1710856/


All Articles