TMDB

Perl wrapper for The MovieDB API
Download

TMDB Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Mithun Ayachit
  • Publisher web site:
  • http://search.cpan.org/~mithun/

TMDB Tags


TMDB Description

The MovieDB is a free and open movie database. TMDB is a Perl module that provides a Perl wrapper to The MovieDB API. In order to use this module, you must first get an API key by signing up.SYNOPSIS use TMDB; # Initialize my $tmdb = TMDB->new( { api_key => 'xxxxxx' } ); # Search for movies my @results = $tmdb->search->movie('Italian Job'); foreach my $result (@results) { print "#$result->{id}: $result->{name} ($result->{year})\n"; } # Get movie info my $movie = $tmdb->movie('19995'); printf( "%s (%s)\n", $movie->name, $movie->year ); printf( "%s\n", $movie->tagline ); printf( "Overview: %s\n", $movie->overview ); printf( "Director: %s\n", join( ',', $movie->director ) ); printf( "Cast: %s\n", join( ',', $movie->cast ) );Product's homepage


TMDB Related Software