Group
Extension

Matches 2

TMDB ( D/DA/DAVECROSS/TMDB-v1.3.0.tar.gz, DAVECROSS, 2025; MetaCPAN )
TMDB/lib/TMDB.pm ( view source; MetaCPAN )
code
         client => $http_tiny,       # A valid HTTP::Tiny object
         json   => $json_object,     # A Valid JSON object
      );

The constructor accepts the following options:

=over

=item 
a default one
is used.

=item json

You can provide your own L<JSON> implementation that can C<decode>
JSON. This will fall back to using L<JSON::MaybeXS>. However,
L<JSON::XS> is recommended.

=item 
sion = $tmdb->session;

=head1 DEPENDENCIES

=over

=item L<Encode>

=item L<HTTP::Tiny>

=item L<JSON::MaybeXS>

=item L<Locale::Codes>

=item L<Object::Tiny>

=item L<Params::Validate>

=item L<URI:
TMDB ( D/DA/DAVECROSS/TMDB-v1.3.0.tar.gz, DAVECROSS, 2025; MetaCPAN )
TMDB/lib/TMDB/Session.pm ( view source; MetaCPAN )
use Carp qw(croak carp);

#######################
# LOAD CPAN MODULES
#######################
use JSON::MaybeXS;
use Encode qw();
use HTTP::Tiny qw();
use URI::Encode qw();
use Params::Validate qw(val
des::Language qw(all_language_codes);
use Object::Tiny qw(apikey apiurl lang debug client encoder json);

#######################
# VERSION
#######################
our $VERSION = '1.3.0';

###########
# Default Headers
my $default_headers = {
    'Accept'       => 'application/json',
    'Content-Type' => 'application/json',
};

# Default User Agent
my $default_ua = 'perl-tmdb-client';

###########

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.