This small app can store daily statistics of YouTube channel
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: [email protected]