2017 © Pedro Peláez
 

library youtube

Get data from YouTube

image

rafael.paulino/youtube

Get data from YouTube

  • Thursday, April 19, 2018
  • by rafapaulino
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

PHP GET TOTAL OF YOUTUBE SUBSCRIBERS

Example of use

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);

The Versions

19/04 2018

dev-master

9999999-dev

Get data from YouTube

  Sources   Download

MIT

The Requires

  • php >=5.6.4

 

The Development Requires

19/04 2018

1.0.0

1.0.0.0

Get data from YouTube

  Sources   Download

MIT

The Requires

  • php >=5.6.4

 

The Development Requires