rapidshare

How to use rapidshare api?

Hello, 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? ...

Rapidshare API question

When I retrieve response from query http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=getaccountdetails_v1&type=prem&login=MY_USERNAME&password=MY_PASSWORD, among other variables, I get .............. validuntil=1251783433.........., which should tell me the exact expiration date. My question is how to convert this integer to n...

How to use rapidshare API to get Account Details ?? PHP question

I get a long string like this : accountid=*** type=prem servertime=1247000294 addtime=****** validuntil=**** username=8 directstart=1 protectfiles=0 ... how to get values from it using php ?? i mean how to set accountid's value to a variable ?? like $username = VALUE OF ACCOUNTID ? i tried strpos , but.. i dont know how to get it .. pl...

How can I receive the result of the Rapidshare APIs ?

I want to use the RapidShare API in my project,but I don't know how I can call it then receive the result. I use Delphi 2009. ...

How to search Rapidshare database?

Hello, I'm trying to search into Rapidshare files, but I don't know what syntax should I use. how can I send a word to search to Rapidshare API URL and get the result back?? http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=listfiles%5Fv1&type=col&login=mazzikatv&password=123456&term=Word%5FTo%5FSearch Thanks ...

Best way to read rapidshare API response ?

Hi There, I've started working with the rapidshare.com API. I'm just wondering what is the best way to read the reply from and API call. To be honest I think the API is all over the place. Some replies are comma delimited which is fine. I'm having with problems with the account info response. This is not comma delimited and the fields ...

Using Rapidshare API to check if a file is downloadable

Hello, I'm new with this API thing, so I don't know how to use it very well. I want to make an application on C or PHP or AppleScript to check if a file is downloadable. I just need to know how to send the request properly. I read the API docs but I still don't know how to get the return values. Can anyone help me? Happy holidays ever...

Matching Rapidshare links with regex

I want to match a sequence of Rapidshare links on a webpage. The links look like: http://rapidshare.com/files/326251387/file_name.rar I wrote this code: if(preg_match_all('/http:\/\/\rapidshare\.com\/files\/.*?\/.*?/', $links[1], $links)) { echo 'Found links.'; } else { die('Cannot find links :('); } And it retuns Cannot fi...

Rapidshare premium download (c#)

Is there a way to download a file using a rapidshare premium account with c# or java? ...

Download file from premium rapidshare account with .NET

How can I log to premium rapidshare account from my source? I tryed this but it is not working: string authInfo = "name" + ":" + "pass"; authInfo = Convert.ToBase64String(Encoding.Default.GetBytes(authInfo)); client.Headers["Authorization"] = "Basic " + authInfo; client.DownloadFile("url", "C:\\Temp\\aaaa.file"); OR WebClient client...

Defining a variable in a class and using it in functions

I am trying to learn PHP classes so I can begin coding more OOP projects. To help me learn I am building a class that uses the Rapidshare API. Here's my class: <?php class RS { public $baseUrl = 'http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub='; function apiCall($params) { echo $baseUrl; } } ?> $params will...

Having trouble setting up API call using array of parameters

I am building a class to send API calls to Rapidshare and return the results of said call. Here's how I want the call to be done: $rs = new rs(); $params = array( 'sub' => 'listfiles_v1', 'type' => 'prem', 'login' => '10347455', 'password' => 'not_real_pass', 'realfolder' => '0', 'fields' => 'filen...

http C# System.Net.WebClient authorization in rapidshare

Hi, I am trying to download a file from rapidshare using System.Net.WebClient in C#. I wanted to implement authorization using the http header field "Authorization: Basic ". I do it with the following code: WebClient.Headers.Add(HttpRequestHeader.Authorization, "Basic " + Convert.ToBase64String(System.Text.ASCIIEncoding.ASCII.GetByte...

Downloading from rapidshare as premium user?

I'm creating a simple download manager in java and I want to be able to download files from rapidshare as a premium user. I checked their API, but that didn't make me any wiser. I found this class in C, but I have no idea how use it with my downloader. public void Download() { try { URL url = new URL(this.FileLink); // Copy...

How to download from Rapidshare with API (PHP)

i write this code for downloading from rapidshare.com but it does not work ,why? //rapidshare.com/files/229854091/Travian-Server-PHP-Script.zip $file_id = '229854091'; $file_name = 'Travian-Server-PHP-Script.zip'; $URL = 'http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=download_v1&amp;fileid='.$file_id.'&amp;filename='.$file_name; $...

Overriding JavaFX MediaPlayer class

I haven't tried it yet, but is it possible to extend JavaFX's Media class used in MediaPlayer class, content fetching part, to perform certain operation on file, before playing it in real-time? I would like to implement rapidshare fetch and decompress processor on content URL. ...

Cannot get element value even though it it exists on page

I am working on a javascript downloader and need to click a button. I can see the button and get it's values with web developer and dom inspector in FF. But when I try to: var freeUserForm = this.iFrame.contentDocument.getElementById('js_free-download_btn'); It returns null and when I view the page source the element is not there. So ...