witnessmenow / arduino-youtube-api

A wrapper around the youtube api for arduino
MIT License
141 stars 48 forks source link

Not working anymore? #18

Closed necoinside closed 4 years ago

necoinside commented 4 years ago

Hi, I'm trying with wemos d1 r1, I've api_key that works with link that written in ReadMe, also board connects wifi and able to ping google. But nothing more, no return as json to the board. Note: Already downgraded ArduinoJson to 5.x and also tried to downgrade esp8266 lib to 2.5.0 but with no result. Note2: client.setInsecure(); line added to setup() place too and again with no result.

rsuriano commented 4 years ago

I think it might be a problem with the API itself. I had a project using this library and Youtube Statistics and it suddenly stopped working, same as you're describing. Could you come up with a fix these past few days?

Edit: It worked after I added that client.setInsecure(); line, I'm on an ESP8266.

defwheezer commented 4 years ago

I also had the same youtubeapi problem using a NodeMCU, but it worked after I added the following line in setup():

client.setInsecure();

necoinside commented 4 years ago

I rewrote the sketch including BearSSLClient, its requirements and also client.setInsecure(); than it has started to work.

ssttaarr33 commented 4 years ago

Can you please share the sketch? I can't get it working

necoinside commented 4 years ago

I've cleanly modified the original sketch for you and uploaded here @ssttaarr33 ChannelStatisticsModified.zip