pierreminiggio/youtube-api-wrapper

There is no license information available for the latest version (1.0.2) of this package.

Youtube API Wrapper

1.0.2 2024-11-09 22:58 UTC

This package is auto-updated.

Last update: 2024-11-09 22:58:55 UTC


README

Install using composer :

composer require pierreminiggio/youtube-api-wrapper
use PierreMiniggio\YoutubeAPI\YoutubeAPI;

$youtubeApi = new YoutubeAPI('yourAccessToken');

$videoIds = $youtubeApi->getMostRecentVideoIdsForChannel('yourChannelId', 10);
// or
$video = $youtubeApi->getVideoDetails('yourVideoId');