0

Weather Alerts not showing in JSON Response

Im trying to build an app using this api, but when I query it with no additional specifiers (like this: 

 

 
this is the output i get, with the "Alerts" field missing:

"queryCost": 24,

  "latitude": 43.428,

  "longitude": -89.145,

  "resolvedAddress": "43.428,-89.145",

  "address": "43.428,-89.145",

  "timezone": "America/Chicago",

  "tzoffset": -5,

  "days": [the days are here normally]

"stations": {

    "KUNU": {

      "distance": 35976,

      "latitude": 43.43,

      "longitude": -88.7,

      "useCount": 0,

      "id": "KUNU",

      "name": "KUNU",

      "quality": 99,

      "contribution": 0

    },

    "MIALT": {

      "distance": 24291,

      "latitude": 43.296,

      "longitude": -89.384,

      "useCount": 0,

      "id": "MIALT",

      "name": "Arlington WI US MAWN",

      "quality": 0,

      "contribution": 0

    },

    "72650904898": {

      "distance": 35726,

      "latitude": 43.426,

      "longitude": -88.703,

      "useCount": 0,

      "id": "72650904898",

      "name": "JUNEAU DODGE CO AIRPORT, WI US",

      "quality": 99,

      "contribution": 0

    },

    "72641014837": {

      "distance": 35881,

      "latitude": 43.141,

      "longitude": -89.345,

      "useCount": 0,

      "id": "72641014837",

      "name": "MADISON DANE CO REGIONAL AIRPORT, WI US",

      "quality": 100,

      "contribution": 0

    },

    "MAYW3": {

      "distance": 46131,

      "latitude": 43.571,

      "longitude": -88.609,

      "useCount": 0,

      "id": "MAYW3",

      "name": "HORICON WI US",

      "quality": 0,

      "contribution": 0

    },

    "PEEW3": {

      "distance": 19484,

      "latitude": 43.558,

      "longitude": -89.306,

      "useCount": 0,

      "id": "PEEW3",

      "name": "PARDEEVILLE WI US",

      "quality": 0,

      "contribution": 0

    },

    "KMSN": {

      "distance": 36404,

      "latitude": 43.13,

      "longitude": -89.33,

      "useCount": 0,

      "id": "KMSN",

      "name": "KMSN",

      "quality": 100,

      "contribution": 0

    }

  }

}

I am querying location and time with the location and time provided on this page: https://www.visualcrossing.com/resources/documentation/weather-data/weather-alerts/

 

and the alerts still don't show

1 comment

Please sign in to leave a comment.