Rohan Almeida > WWW-RapidShare > WWW::RapidShare

Download:
WWW-RapidShare-0.3.1.tar.gz

Dependencies

Annotate this POD (1)

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 0.3.1   Source  

NAME ^

WWW::RapidShare - Download files from Rapidshare

VERSION ^

This documentation refers to WWW::RapidShare version 0.3.1

NOTE ^

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

SYNOPSIS ^

    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 ^

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 ^

AUTHOR ^

Rohan Almeida <rohan@almeida.in>

LICENCE AND COPYRIGHT ^

Copyright (c) 2008 Rohan Almeida <rohan@almeida.in>. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

syntax highlighting: