WebService::TVRage::EpisodeList - Object returned by WebService::TVRage::EpisodeListRequest, Contains a List of episodes for all seasons
my $heroes = WebService::TVRage::EpisodeListRequest->new(); $heroes->episodeID('8172'); my $episodeList = $heroes->getEpisodeList(); $episodeList->getNumSeasons();
This is populated by WebService::TVRage::EpisodeListRequest, you shouldn't need to edit this, but you might want to look at it with Data::Dumper
$episodeList->getNumSeasons()
Returns the number of Seasons there have been for the show.
$episodeList->getNumSeasons('2')
Returns the number of episodes for whatever season is specified as an argument.
$episodeList->getEpisode(1,3)
Takes two arguments, season then Episode number and returns a WebService::TVRage::Episode object for that episode.
Kyle Brandt, kyle@kbrandt.com http://www.kbrandt.com
To install WebService::TVRage, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::TVRage
CPAN shell
perl -MCPAN -e shell install WebService::TVRage
For more information on module installation, please visit the detailed CPAN module installation guide.