WebService::IMDB - OO Perl interface to the Internet Movie Database imdb.com
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"; }
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.
Constructor.
%opts can contain:
%args can contain:
To install WebService::IMDB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::IMDB
CPAN shell
perl -MCPAN -e shell install WebService::IMDB
For more information on module installation, please visit the detailed CPAN module installation guide.