For this project you need an ESP8266 module with latest AT firmware CLICK HERE
Programming the ESP8266 will be done in the Arduino IDE so go ahead and set up your arduino to communicate with ESP8266 CLICK HERE
We need the Youtube API arduino library DOWNLOAD FROM HERE
Download the JSON library for Arduino (From the Arduino IDE)
Get your Channel ID
On your Channel, navigate to Settings --> Advanced --> Account Information
THE API Key.
Go to google developers console and create a new project --- CLICK HERE
Go to the credentials section and create a new API key
Now in the Arduino IDE navigate to the Youtube API library and open the example
ChannelStatistics and add your API and channel ID
In the API manager you can view statistics from your projects and also can check if it all works as expected!