WWW::TMDB::API

TMDb API client
Download

WWW::TMDB::API Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Maria Celina Baratang
  • Publisher web site:
  • http://search.cpan.org/~mariab/

WWW::TMDB::API Tags


WWW::TMDB::API Description

WWW::TMDB::API is a Perl module that implements version 3 of the TMDb API. See http://help.themoviedb.org/kb/api/about-3 for the documentation. The module uses the same parameter names used by the API. The method names have been slightly changed. Here's the mapping of the method names used by this this module and the corresponding method names in the TMDb API: TMDB API WWW::TMDB::API ---------------------- ------------------- Search Movies search/movie movie->search() Search People search/person person->search() Movie Info movie/ movie->info() Movie Alternative Titles movie//alternative_titles movie->alternative_titles() Movie Casts movie//casts movie->casts() Movie Images movie//images movie->images() Movie Keywords movie//keywords movie->keywords() Movie Release Info movie//releases movie->releases() Movie Trailers movie//trailers movie->trailers() Movie Translations movie//translations movie->translations() Person Info person//info person->info() Person Credits person//credits person->credits() Person Images person//images person->images() Latest Movie latest/movie movie->latest()The API requires an API key which can be generated from http://api.themoviedb.org. This module converts the API output to Perl data structure using the module JSON. This module does not support update the method, Movie Add Rating.SYNOPSIS use WWW::TMDB::API; # The constructor has 2 parameters - the api_key and the optional LWP::UserAgent object, ua. my $tmdb_client = WWW::TMDB::API->new( 'api_key' => 'your tmdb api key' ); # Retrieve information about the person with ID == 287 $tmdb_client->person->info( ID => 287 ); # Searches the themoviedb.org database for an actor, actress or production member with name 'Brad+Pitt' $tmdb_client->person->search( query => 'Brad+Pitt' ); # Searches the themoviedb.org database for an actor, actress or production member with name 'Brad' $tmdb_client->person->search( query => 'Brad' ); # Determines the last movie created in the themoviedb.org database. $tmdb_client->movie->latest();Product's homepage


WWW::TMDB::API Related Software