English
Español

Albert Einstein He developed the general theory of relativity, one of the two pillars of modern physics (alongside quantum mechanics).


The first integrated circuit invented by the engeneer Jack S. Kilby1 (1923-2005) contained only a few transistors. Texas Instruments.
Gearbest Creality3D CR - 10 3D Desktop DIY Printer
Creality3D CR - 10 3D Desktop DIY Printer only $426.23


Gearbest FuriBee DarkMax para anuncio bara lateral Webpage
Amazing 6S FuriBee DarkMax FPV 140€


Gearbest HawKeye Firefly 8S 4K Sports Camera No Distortion Version
HawKeye Firefly 8S 4K Sports Camera No Distortion Version only $141.99
Gearbest Oscilloscope
OWON XDS3102 Oscilloscope
Gearbest Flykul 8 120kg
Flykul 8 120kg
Gearbest BAYANGTOYS X21 Brushless RC Quadcopter
BAYANGTOYS X21 Brushless RC Quadcopter

WiFi YouTube subscribers counter





3.3.0 Youtube API

Ok, now let’s see how to get our YouTube data. We have to go to GitHub once again or use the download link below. We should thank witness me now for this code. Just download the zip file as before. Now open the Arduino IDE, and go to sketch, include library, add zip library and select the downloaded zip file. And we are done. Now we should have the examples for the YouTube subscriber count. This example is compatible with the ESP8266, it will connect to WIFI and get the subscriber count.

Downlaod the Youtube API library here:

Now open the Arduino IDE, and go to sketch, include library, add zip library and select the downloaded zip file. And we are done. Now we should have the examples for the YouTube subscriber count. This example is compatible with the ESP8266, it will connect to WIFI and get the subscriber count.


youtube API example

Now go to examples, YouTube APi, ESP8266 and select channel statistics. You should add your exact and full WIFI name as below. Then the exact password. Then here you should add you YouTube channel ID. For that go to YouTube. Select creator editor and select the channel icon in the corner and go to YouTube settings. There click advance and now you should copy just copy the channel ID and paste it here in the code. Now for the API key, if you don’t have one you should create it now.


youtube API key



3.3.1 API KEY

Go to google and type Get Youtube API key or use this link for that. There you select the API console and sing in with your Youtube account data. There on the library select all of the Youtube API and enable them. Accept the terms. Now go to credentials and create new credential. Once created copy the API key and paste it in the code.
Now compile and upload the code. Open the serial monitor. Ok, first we connect to the WIFI. Now you will probably wait a few minutes till the first Youtube subscriber data will show. There you go, this is my subscriber value below. The code works.


youtube subscriber counter Arduino

Now all we have to do is to marge this 3 examples into just one. Use the ESP8266 chip, get subscribers value and print it on the 7 segment display. Let's see how to do that in the next part.