Query multiple stations with one request

  • 4
  • Idea
  • Updated 2 years ago
I am making a mobile app with a page that has what's on your HOME PAGE -- the temperature at personal weather stations near the user's location. (You have a fine iOS app by the way; I am wanting to eventually make one for android.) Then the user can select a station and set alarm temperatures.

But after the "geolookup" query that gives nearby station-ID's neighborhoods and coordinates, I have to query each station for "conditions" individually. Receiving all sorts of data I don't need -- wind, precipitation, dew point, windchill, etc. I'm changing my app to throttle itself to avoid overage. But even if I had a paid license, this is subjecting users to a lot of mobile data usage.

It would great if "conditions" could restrict to selected fields and query could accept multiple locations. Obviously you'd need to restrict the number of each (maybe 50 datum which is what it does now for one station) to prevent the response from becoming too large. Example (2 conditions * 4 stations):
http://api.wunderground.com/api/APIKE...

query separator: here aren't a lot of URL-safe characters and comma is already used for coordinates, so I used tilde in this example.
Photo of johnk73

johnk73

  • 1 Post
  • 0 Reply Likes

Posted 4 years ago

  • 4
Photo of Reagan Cooper

Reagan Cooper

  • 1 Post
  • 0 Reply Likes
This would be great for my app, too! 
Photo of Tim Roche

Tim Roche, Official Rep

  • 334 Posts
  • 36 Reply Likes
This feature is being discussed for future development in the next version of the weather api, stay tuned!
Photo of Jason Herring

Jason Herring

  • 2 Posts
  • 0 Reply Likes
Hi, has this been implemented?  I think it's a pretty important feature.