An open API service indexing awesome lists of open source software.

https://github.com/devfaysal/youtube_channel_statistics

Analyze YouTube channel's daily view, subscriber and uploads
https://github.com/devfaysal/youtube_channel_statistics

youtube youtube-api youtube-channel

Last synced: 9 days ago
JSON representation

Analyze YouTube channel's daily view, subscriber and uploads

Awesome Lists containing this project

README

          

YouTube Channel Statistics


This small app can store daily statistics of YouTube channel

![ytcm1](https://user-images.githubusercontent.com/16212149/32591004-81a3588c-c547-11e7-8063-a0e4971ed939.png)

![ytcm2](https://user-images.githubusercontent.com/16212149/32591021-98654f08-c547-11e7-94de-531e8644da03.png)

Currently it can store:



  • Daily View Count

  • Daily Subscriber Count

  • Daily uploaded Video Count

Once you setup the app, you can add as much YouTube channel as you wish


Requirements



  • Server that can run php

  • MySQL/MariaDB

  • Cron Job (If you want the app to run itself daily at a certain time)

Setup



  • Download the zip file YouTube_Channel_Statistics

  • Or using git- $ git clone https://github.com/iamfaysal/YouTube_Channel_Statistics.git

  • Copy the config.sample.php file to config.php

  • Add database credentials to config.php

  • Add YouTube API key to config.php Learn How to get an YouTube Data API from Here

  • Run yourdomain.com/directory/install.php

  • After successful installation, remove the install.php file

  • Enjoy! add youtube channel

  • You can run the app manually to store the statistics of the channel you added or you can add a Cron job to run yourdomain/directory/app.php for you at a certain time everyday. Learn how to setup cron job in cpanel from here

If you have any question, feel free to contact me: devfaysal@gmail.com