-->
Page 1 of 3

Reading Webpages using ESP8266?

PostPosted: Mon Feb 01, 2016 6:17 am
by kdfjslkdfjlkfdj
Hi everyone,

I'm new to the ESP8266 platform (using a NodeMCU board with the Arduino IDE) and have tried out some of the example sketches for the unit. I wanted to write a sketch which reads the contents of a website and returns a specific value (e.g. time or weather). What is the simplest way to implement something like this and do you have any suggestions?


Thanks

Re: Reading Webpages using ESP8266?

PostPosted: Fri Feb 05, 2016 11:46 pm
by kdfjslkdfjlkfdj
Would I just need to use the GET command?

Re: Reading Webpages using ESP8266?

PostPosted: Sat Feb 06, 2016 9:48 am
by martinayotte
Yes ! simply take a look at libraries/ESP8266HTTPClient/examples/BasicHttpClient/BasicHttpClient.ino

Re: Reading Webpages using ESP8266?

PostPosted: Sun Feb 07, 2016 10:49 am
by kdfjslkdfjlkfdj
Thanks!

I just tried out the example, are there any online tutorials explaining the main functions of the example code (or more broadly, the libraries themselves)?