Activity Stream
48,167 MEMBERS
6755 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 4 of 4
  1.     
    #1
    Member

    Default Check your resource usage on Rapidshare API - For link checkers

    Rapidshare's new API update measures the resources you are using..

    If you hit the limit you get IP banned, this is bad news for linkcheckers so you need to update your scripts to safeguard against dumping topics with live links.



    This code outputs how many hits you have left before being IP banned by Rapidshare API


    You can also use this to check if you are already banned

    Code: 
    <?
    $res= file_get_contents("http://api.rapidshare.com/cgi-bin/rs...b=getapicpu_v1");
    list($par,$ptb) =explode(',',$res);
    echo "Current Points : ".$par."<br />";
    echo "Points Until Banned : ".$ptb;
    ?>
    You can add it to your script/link-checker to safeguard against being banned & falsely detecting dead links.

    Just comment out the 'echo' lines, and add a line into your script where the links are checked


    Something like this
    Code: 
    if ($ptb < 20) {echo"Out of API resources... Quiting"; exit; }
    Gavo Reviewed by Gavo on . Check your resource usage on Rapidshare API - For link checkers Rapidshare's new API update measures the resources you are using.. If you hit the limit you get IP banned, this is bad news for linkcheckers so you need to update your scripts to safeguard against dumping topics with live links. This code outputs how many hits you have left before being IP banned by Rapidshare API You can also use this to check if you are already banned :) Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    mirrormaker.org
    I thought their API always measured the resources you use?

  4.     
    #3
    Member
    I thought that was with there latest changes its the 1st time I checked there API doc.

    Your allowed 20k points, and i must have used x10 that last week checking 500k topics on waz-warez, so I presume they have lowered the limit then ?

  5.     
    #4
    Member
    Website's:
    mirrormaker.org
    I think the limit might be bogus as it's been there for the very beginning of the RS API.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Wordpress, Shared Hosting] New Site, High Resource Usage...
    By Rocke in forum Technical Help Desk Support
    Replies: 3
    Last Post: 13th Dec 2010, 06:59 AM
  2. Rapidshare link check
    By masterofdeath in forum Webmaster Resources
    Replies: 16
    Last Post: 16th Dec 2009, 11:06 AM
  3. Help with Link Checkers ...!
    By EvilGenius in forum vBulletin
    Replies: 0
    Last Post: 20th Nov 2009, 05:58 PM
  4. Link Checkers
    By Myth? in forum General Discussion
    Replies: 3
    Last Post: 12th Oct 2009, 07:09 PM
  5. Replies: 4
    Last Post: 23rd Jan 2008, 05:14 PM

Tags for this Thread

BE SOCIAL