Google YouTube Channels

$channel = eden('google')->youtube($_SESSION['token'], '[DEVELOPER_KEY]')->channel();
Figure 1. YouTube Channel Methods
Method Arguments Returns Description
$channel->setStartIndex($startIndex);
  1. integer
Eden_Google_Youtube_Channel Set start index
$channel->setMaxResults($maxResults);
  1. integer
Eden_Google_Youtube_Channel Set start index
$channel->setToday(); none Eden_Google_Youtube_Channel Returns all feeds this day
$channel->setThisWeek(); none Eden_Google_Youtube_Channel Returns all feeds this week
$channel->setThisMonth(); none Eden_Google_Youtube_Channel Returns all feeds this month
$channel->setToAllTime(); none Eden_Google_Youtube_Channel Returns all feeds
$channel->search($queryString);
  1. string
array Returns a collection of videos that match the API request parameters.
$channel->getChannelFeeds($feeds);
  1. string
array Returns a collection of videos that match the API request parameters.
$channel->getChannelByRegion($regionId, $feeds);
  1. string
  2. string
array Returns a collection of videos that match the API request parameters.

© 2012 Openovate Labs. All rights reserved.