Google YouTube Ratings

$ratings = eden('google')->youtube($_SESSION['token'], '[DEVELOPER_KEY]')->ratings();
Figure 1. YouTube Rating Methods
Method Arguments Returns Description
$ratings->addRating($videoId, $rating);
  1. string
  2. integer
  3. - Video ratings (1-5)
array Add a numeric (1-5) video rating
$ratings->like($videoId);
  1. string
array Like a video
$ratings->dislike($videoId);
  1. string
array Dislike a video

© 2012 Openovate Labs. All rights reserved.