GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  WEBSERVICE::IMDB (3)

.ds Aq ’

NAME

WebService::IMDB - OO Perl interface to the Internet Movie Database imdb.com

CONTENTS

SYNOPSIS



    use WebService::IMDB;

    my $ws = WebService::IMDB->new(cache => 1, cache_exp => "12h");

    my $movie = $ws->search(type => "Title", tconst => "tt0114814");

    print $movie->title(), ": \n\n";
    print $movie->synopsis(), "\n\n";

    foreach ( @{$movie->cast_summary()} ) {
        print $_->name()->name(), " : ", $_->char(), "\n";
    }



LEGAL

The data accessed via this API is provided by IMDB, and is currently supplied with the following copyright notice.

For use only by clients authorized in writing by IMDb. Authors and users of unauthorized clients accept full legal exposure/liability for their actions.

Anyone using WebService::IMDB must abide by the above requirements.

METHODS

    new(%opts)

Constructor.

%opts can contain:
cache - Whether to cache responses. Defaults to true
cache_root - The root dir for the cache. Defaults to tmpdir();
cache_exp - How long to cache responses for. Defaults to ‘‘1h’’
domain - Domain from which to request data. Defaults to ‘‘app.imdb.com’’

    search(%args)

%args can contain:
type - Resource type: ‘‘Title’’,
tconst - IMDB tconst e.g. ‘‘tt0000001’’ (Title)
nconst - IMDB nconst e.g. ‘‘nm0000002’’ (Name)
imdbid - More tolerant version of tconst, nconst e.g. ‘‘123’’, ‘‘0000456’’, ‘‘tt0000001’’, ‘‘nm0000002’’ (Title, Name)
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 WEBSERVICE::IMDB (3) 2012-04-09

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.