php-youtube-api
php-youtube-api copied to clipboard
not getting page info into advance search method searchAdvanced()
use following example
use Madcoda\Youtube;
$youtube = new Youtube(array('key' => '/* Your API key here */'));
// Set Default Parameters $params = array( 'q' => 'Android', 'type' => 'video', 'part' => 'id, snippet', 'maxResults' => 50 );
// Make Intial Call. With second argument to reveal page info such as page tokens. $search = $youtube->searchAdvanced($params, true);