| 1 | package WWW::TMDB::API::Movie; | ||
| 2 | |||
| 3 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | our $VERSION = '0.04'; | |
| 6 | |||
| 7 | 0 | ▶ | sub info { |
|
Subroutine
info: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 8 | 0 | my $self = shift; | |
| 9 | 0 | my (%params) = @_; | |
| 10 | 0 | $self->{api}->send_api( [ 'movie', $params{ID} ], | |
| 11 | { ID => 1, language => 0 }, \%params ); | ||
| 12 | } | ||
| 13 | |||
| 14 | 0 | ▶ | sub search { |
|
Subroutine
search: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 15 | 0 | my $self = shift; | |
| 16 | 0 | my (%params) = @_; | |
| 17 | 0 | $self->{api}->send_api( [ 'search', 'movies' ], | |
| 18 | { query => 1, page => 0, language => 0, 'include_adult' => 0 }, | ||
| 19 | \%params ); | ||
| 20 | } | ||
| 21 | |||
| 22 | 0 | ▶ | sub alternative_titles { |
|
Subroutine
alternative_titles: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 23 | 0 | my $self = shift; | |
| 24 | 0 | my (%params) = @_; | |
| 25 | 0 | $self->{api}->send_api( [ 'movie', $params{ID}, 'alternative_titles' ], | |
| 26 | { ID => 1, country => 0 }, \%params ); | ||
| 27 | } | ||
| 28 | |||
| 29 | 0 | ▶ | sub casts { |
|
Subroutine
casts: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 30 | 0 | my $self = shift; | |
| 31 | 0 | my (%params) = @_; | |
| 32 | 0 | $self->{api}->send_api( [ 'movie', $params{ID}, 'casts' ], { ID => 1 }, | |
| 33 | \%params ); | ||
| 34 | } | ||
| 35 | |||
| 36 | 0 | ▶ | sub images { |
|
Subroutine
images: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 37 | 0 | my $self = shift; | |
| 38 | 0 | my (%params) = @_; | |
| 39 | 0 | $self->{api}->send_api( [ 'movie', $params{ID}, 'images' ], | |
| 40 | { ID => 1, language => 0 }, \%params ); | ||
| 41 | } | ||
| 42 | |||
| 43 | 0 | ▶ | sub keywords { |
|
Subroutine
keywords: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 44 | 0 | my $self = shift; | |
| 45 | 0 | my (%params) = @_; | |
| 46 | 0 | $self->{api}->send_api( [ 'movie', $params{ID}, 'keywords' ], | |
| 47 | { ID => 1 }, \%params ); | ||
| 48 | } | ||
| 49 | |||
| 50 | 0 | ▶ | sub releases { |
|
Subroutine
releases: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 51 | 0 | my $self = shift; | |
| 52 | 0 | my (%params) = @_; | |
| 53 | 0 | $self->{api}->send_api( [ 'movie', $params{ID}, 'releases' ], | |
| 54 | { ID => 1 }, \%params ); | ||
| 55 | } | ||
| 56 | |||
| 57 | 0 | ▶ | sub translations { |
|
Subroutine
translations: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 58 | 0 | my $self = shift; | |
| 59 | 0 | my (%params) = @_; | |
| 60 | 0 | $self->{api}->send_api( [ 'movie', $params{ID}, 'translations' ], | |
| 61 | { ID => 1 }, \%params ); | ||
| 62 | } | ||
| 63 | |||
| 64 | 0 | ▶ | sub trailers { |
|
Subroutine
trailers: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 65 | 0 | my $self = shift; | |
| 66 | 0 | my (%params) = @_; | |
| 67 | 0 | $self->{api}->send_api( [ 'movie', $params{ID}, 'trailers' ], | |
| 68 | { ID => 1, language => 1 }, \%params ); | ||
| 69 | } | ||
| 70 | |||
| 71 | 0 | ▶ | sub latest { |
|
Subroutine
latest: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 72 | 0 | my $self = shift; | |
| 73 | 0 | my (%params) = @_; | |
| 74 | 0 | $self->{api}->send_api( [ 'latest', 'movie' ] ); | |
| 75 | } | ||
| 76 | |||
| 77 | 1 | 1; | |
| 78 | |||