library youtube-api
PHP Youtube Data API v3
flrnull/youtube-api
PHP Youtube Data API v3
- Sunday, November 3, 2013
- by flrnull
- Repository
- 1 Watchers
- 1 Stars
- 13 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
youtube-api
PHP Youtube API, (*1)
Usage
$apiKey = '';
$categoryId = 1;
$period = '-10 days';
$limit = 30;
$page = 'JqwdgHdq'; // Here you can specify pageToken from previous API result
$apiSearch = new YoutubeApi\Search($apiKey);
$videosData = $apiSearch->videos()
->category($categoryId)
->order('viewCount')
->fromDate($period)
->limit($limit)
->page($page)
->getList();
Install
composer.json, (*2)
"require": {
"flrnull/youtube-api": "dev-master",
}
License
MIT, (*3)
dev-master
9999999-dev
PHP Youtube Data API v3
Sources
Download
MIT
The Requires
by
flrnull
api
video
youtube