Getting Wunderground Data From MKR1000

  • 1
  • Question
  • Updated 2 years ago
I'm trying to get weather data from using my Arduino MKR1000 and display it (for now on the serial monitor, but in future on a separate display), but I'm a bit stuck: how do I get the specific object/s from the page which contain/s the weather data? I already have an API key, and am using some code from (Scheduled WiFi SSL Web Client).
Here's the section of code I can't figure out the formatting for (the MKR1000 isn't connecting to the page and object I specified): 

  if (client.connect(server, 443)) {
    // Make a HTTP request:
    client.println("GET //api/xxxxxxxxxxxxx/conditions/q/xxxxxx.json HTTP/1.1\r\n");  //This is the line IDK how to format
    client.println("Connection: close");
  else {
    Serial.println("connection failed"); 
Photo of An Audi RS6

An Audi RS6

  • 3 Posts
  • 0 Reply Likes

Posted 2 years ago

  • 1

Be the first to post a reply!