Google YouTube Profile

$profile = eden('google')->youtube($_SESSION['token'], '[DEVELOPER_KEY]')->profile();
Figure 1. YouTube Profile Methods
Method Arguments Returns Description
$profile->getList($userId = self::DEFAULT_VALUE);
  1. string
array Returns a collection of videos that match the API request parameters.
$profile->getUserVideoUploads($userId = self::DEFAULT_VALUE);
  1. string
array Returns all videos uploaded by user,
$profile->getSpecificUserVideo($videoId, $userId = self::DEFAULT_VALUE);
  1. string
  2. string
array Returns specific videos uploaded by user,
$profile->activateAccount($userName, $userId = self::DEFAULT_VALUE);
  1. string
  2. string
array Activate user account for youtube

© 2012 Openovate Labs. All rights reserved.