rafael.paulino/youtube
Composer 安装命令:
composer require rafael.paulino/youtube
包简介
Get data from YouTube
README 文档
README
Example of use
Install: composer require rafael.paulino/youtube
<?php require_once 'vendor/autoload.php'; use YouTube\CountChannelSubscribers; //get api key here https://console.developers.google.com/apis/credentials $api_key = 'your api key'; //get youtube channel id here: http://johnnythetank.github.io/youtube-channel-name-converter/ $channel_id = 'your channel id'; $subscribers = new CountChannelSubscribers($api_key, $channel_id); $resultado = $subscribers->getSubscriberCount(); var_dump($resultado);
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-04-19