YoutubeAPI
Categories
Component ID
2787469
Component name
YoutubeAPI
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
505
Component created
Component changed
Component body
YouTube Data API V3 integration.
This module allow drupal developers to work with google YouTube API V3 easier. As this is an API module, it in itself doesn't do anything.
For Example, to search 'drupal' videos on youtube, You have just to call:
use DrupalyoutubeapiYoutubeAPISearch;
$api = new YoutubeSearch();
$api->addQuery(YoutubeSearch::q, 'drupal');
//Optionally.
$api->addQuerys([YoutubeSearch::part => 'snippet', YoutubeSearch::type => 'video']);
$result = $api->execute();;
