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"
);
$movie
->title(),
": \n\n"
;
$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: