Geoffrey Hoffman > WebService-TVRage-0.11 > WebService::TVRage::EpisodeList

Download:
WebService-TVRage-0.11.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

WebService::TVRage::EpisodeList - Object returned by WebService::TVRage::EpisodeListRequest, Contains a List of episodes for all seasons

SYNOPSIS ^

    my $heroes = WebService::TVRage::EpisodeListRequest->new();
    $heroes->episodeID('8172'); 
    my $episodeList = $heroes->getEpisodeList();
        $episodeList->getNumSeasons();

Methods ^

_episodeListHash

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

getNumSeasons()

    $episodeList->getNumSeasons()

Returns the number of Seasons there have been for the show.

getNumEpsInSeasons()

    $episodeList->getNumSeasons('2')

Returns the number of episodes for whatever season is specified as an argument.

getEpisode()

    $episodeList->getEpisode(1,3)

Takes two arguments, season then Episode number and returns a WebService::TVRage::Episode object for that episode.

AUTHOR ^

Kyle Brandt, kyle@kbrandt.com http://www.kbrandt.com

syntax highlighting: