We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Add this package to composer.json and run composer update if you haven't already done do.
composer.json
composer -vvv update
require '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);