Google YouTube Video

$video = eden('google')->youtube($_SESSION['token'], '[DEVELOPER_KEY]')->video();
Figure 1. YouTube Video Methods
Method Arguments Returns Description
$activity->filterByTopRated(); none Eden_Google_Youtube_Video Returns the most highly rated YouTube videos.
$activity->filterByTopFavorites(); none Eden_Google_Youtube_Video Returns videos most frequently flagged as favorite videos.
$activity->filterByMostShared(); none Eden_Google_Youtube_Video Returns YouTube videos most frequently shared on Facebook and Twitter.
$activity->filterByMostPopular(); none Eden_Google_Youtube_Video Returns the most popular YouTube videos,
$activity->filterByMostRecent(); none Eden_Google_Youtube_Video Returns videos most recently submitted to YouTube.
$activity->filterByMostDiscussed(); none Eden_Google_Youtube_Video Returns YouTube videos that have received the most comments.
$activity->filterByMostResponded(); none Eden_Google_Youtube_Video Returns YouTube videos that receive the most video responses.
$activity->filterByRecentFeatured(); none Eden_Google_Youtube_Video Returns videos recently featured on the YouTube home page or featured videos tab.
$activity->filterByOnTheWeb(); none Eden_Google_Youtube_Video Returns lists trending videos as seen on YouTube Trends,
$activity->getSpecific($videoId);
  1. string
array Returns a specific videos
$activity->getFavorites(); none array Returns a collection of videos of users favorites.
$activity->getList(); none array Returns a collection of videos that match the API request parameters.
$activity->getListByCategory($category);
  1. string
array Returns a collection of videos from category.
$activity->getListByRegion($regionId);
  1. string
array Returns a collection of videos that match the API request parameters.

© 2012 Openovate Labs. All rights reserved.