NAME

WebService::Flixster - OO Perl interface to flixster.com

SYNOPSIS

use WebService::Flixster;

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

my $movie = $ws->search(type => "Movie", tconst => "tt0033467");

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

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 "api.flixster.com"

search(%args)

%args can contain:

type - Resource type: "Movie", "Actor"
id - Flixster id e.g. "10074" (Movie, Actor)
imdbid - IMDB tconst/nconst e.g. "tt0000001", "nm0000002" (Movie, Actor)