WWW::RapidShare - Download files from Rapidshare


WWW-RapidShare documentation  | view source Contained in the WWW-RapidShare distribution.

Index


NAME

Top

WWW::RapidShare - Download files from Rapidshare

VERSION

Top

This documentation refers to WWW::RapidShare version 0.3.1

NOTE

Top

    Currently only works with rapidshare.com PREMIUM accounts.
    More features coming soon!

SYNOPSIS

Top

    use WWW::RapidShare;

    my $rapid = WWW::RapidShare->new();

    $rapid->url('http://rapidshare.com/files/file.zip');
    $rapid->account_id('xxxxxx');
    $rapid->password('xxxxxx');

    # Download the file associated with the above URL.
    # File will be saved in current directory.
    $rapid->download_file();

  


SUBROUTINES/METHODS

Top

new()

Purpose

    Create a new WWW::RapidShare object

Usage

    my $rapid = WWW::RapidShare->new();

Parameters

    None

Returns

    A WWW::RapidShare object

accessors/mutators

    * url - The URL to download the file
    * account_id - Your account ID
    * password - your password

download_file()

Purpose

    Download the file associated with the URL

Usage

    $rapid->download_file();

Parameters

    None

Returns

    None

Comments

    This method will create a file in the current directory

DEPENDENCIES

Top

* Class::Accessor
* WWW::Mechanize

AUTHOR

Top

Rohan Almeida <rohan@almeida.in>

LICENCE AND COPYRIGHT

Top


WWW-RapidShare documentation  | view source Contained in the WWW-RapidShare distribution.