Below is the URL I am using to search YouTube Videos:
// One Url
$youtube_api_url = "https://www.googleapis.com/youtube/v3/playlistItems?
part=snippet&id=10&key=".GOOGLE_API_KEY;
// Two Url
$youtube_api_url = $youtube_api_url."®ionCode=GB&playlistId=
".$playlist_id."&order=relevance&maxResults=50&
part=snippet&q=".urlencode($artist->name.' Music Video Vevo');
I have separate link as :
https://www.googleapis.com/youtube/v3/videoCategories?part=snippet&id=10&key={YOUR_API_KEY}
To know category id. But how can I filter fetched videos by category id.