he::FileCache;
use Carp;
use File::Spec::Functions qw(tmpdir);
use HTTP::Request::Common;
use JSON;
use LWP::ConnCache;
use LWP::UserAgent;
use WebService::IMDB::Title;
use WebService::IMDB::Nam
ecoded_json {
my $self = shift;
my $request = shift;
my $content = $self->_response_decoded_content($request);
my $json = JSON->new();
$json->utf8(0);
my $resp = $json->deco
hift;
my $content = $self->_response_decoded_content($request);
my $json = JSON->new();
$json->utf8(0);
my $resp = $json->decode($content);
return $resp->{'copyright'};
}
1;
__content()->{$page};
if (! defined $content) {
$content = $self->_ws()->_response_decoded_json($self->_request($page));
$self->__content()->{$page} = $content;
}
return $content;
}
ath(sprintf("/name/%s/maindetails", $nconst));
my $content = $self->_ws()->_response_decoded_json(GET $uri->as_string());
if ($content->{'nconst'} ne $nconst) {
die "nconst failed round tri
th(sprintf("/title/%s/maindetails", $tconst));
my $content = $self->_ws()->_response_decoded_json(GET $uri->as_string());
if ($content->{'tconst'} ne $tconst) {
die "tconst failed round tri