Search code examples
phprapidshare

How to use rapidshare api?


I am trying to use rapidshare apis but dont 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 am getting error "ERROR: Subroutine invalid."

Can anybody tell me what is wrong with my link?


Solution

  • The problem is although the API defines the subroutine as subroutine=getaccountdetails_v1 what it actually requires is sub=getaccountdetails_v1. This applies for all the subroutine calls.

    This should work

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

    click here