Closed JasonMeredith1 closed 5 years ago
Hi @JasonMeredith1,
You can get the underlying WiFiClient
by calling HTTPClient::getStream()
:
DeserializationError error = deserializeJson(doc, client->getStream());
If you want a complete example using ESP8266HTTPClient, please check out the "GitHub" case study in Mastering ArduinoJson.
BTW, I thought Weather Underground shut down their API; how can you still be using it?
Best Regards, Benoit
I got it figured out after a few hours banging around in the examples :), If you have a PWS (personal weather station) you get an API key from Wunderground. I am now trying to figure out how to pass my returned string of data to an LED matrix so I can have a ticker with the weather for out flight communications center. with the Wemos Minis being so cheap I can thing a several projects to get on the workbench! Thanks again for making such a great library!
Fair WInds, -Jason
I am trying to get just a few pieces of data from the wunderground API... I have been following along on several examples but I am missing where the returned string gets passed to deserialize. can anyone here give me a clue what I need to add.