dev-master
9999999-devGet data from YouTube
MIT
The Requires
- php >=5.6.4
The Development Requires
1.0.0
1.0.0.0Get data from YouTube
MIT
The Requires
- php >=5.6.4
The Development Requires
Get data from YouTube
Install: composer require rafael.paulino/youtube, (*1)
<?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);
Get data from YouTube
MIT
Get data from YouTube
MIT