-
Couldn't load subscription status.
- Fork 116
started with php composer
Jason Leung edited this page Sep 4, 2015
·
3 revisions
Add this package to composer.json and run composer update if you haven't already done do.
composer -vvv updaterequire 'vendor/autoload.php';
use Madcoda\Youtube;
$youtube = new Youtube(array('key' => '/* Your API key here */'));// Return a std PHP object
$video = $youtube->getVideoInfo('rie-hPVJ7Sw');
print_r($video);