Read data from the web with Webhook

The great thing about your code is that it can be easily adapted for all the many, great API’s that are currently available.

I did think about making the sketch more generic whereby you would enter a keyword in the sketch or say Blynk Terminal such as “Sunrise”, an offset for the index where the data for the keyword is located and a few integer variables to pull out the data i.e. to replace 1, 8 for example in the following line:

if(inputString.substring(1, 8) == "sunrise"){

1 Like