项目作者: devfaysal

项目描述 :
Analyze YouTube channel's daily view, subscriber and uploads
高级语言: PHP
项目地址: git://github.com/devfaysal/YouTube_Channel_Statistics.git
创建时间: 2017-11-03T19:06:05Z
项目社区:https://github.com/devfaysal/YouTube_Channel_Statistics

开源协议:

下载


YouTube Channel Statistics

This small app can store daily statistics of YouTube channel

ytcm1

ytcm2

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