diff options
Diffstat (limited to 'lib/WWW/StrawViewer/Channels.pm')
-rw-r--r-- | lib/WWW/StrawViewer/Channels.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/WWW/StrawViewer/Channels.pm b/lib/WWW/StrawViewer/Channels.pm index d48c744..309aa07 100644 --- a/lib/WWW/StrawViewer/Channels.pm +++ b/lib/WWW/StrawViewer/Channels.pm @@ -23,6 +23,11 @@ sub _make_channels_url { return $self->_make_feed_url('channels', %opts); } +sub videos_from_channel_id { + my ($self, $channel_id) = @_; + return $self->_get_results($self->_make_feed_url("channels/$channel_id/videos")); +} + =head2 channels_from_categoryID($category_id) Return the YouTube channels associated with the specified category. |