0

How Can We Request *Only* Current Conditions?

I make Web service requests using URLs like:

https://weather.visualcrossing.com/VisualCrossingWebServices/rest/services/timeline/40.5210,-75.5573?key=REDACTED&include=current&iconSet=icons2

So, my "include" parameter is just "current". However, the JSON that I get back includes the "days" array with two weeks of forecasts, which I do not need for this call. Since I do not have "current,days" for "include", I am surprised to be getting back the "days" list.

How can I construct this request to only report the current conditions, and not future forecasts?

Thanks!

1 comment

Please sign in to leave a comment.