Combine API calls

  • 8
  • Idea
  • Updated 6 years ago
It would be really nice to be able to combine data types, such as combining conditions, forecast, and almanac into one call. Many weather applications are going to want all three of these things displayed. My app is making three calls each time the a request is made. This seems inefficient, and if I make just four requests in a minute (not hard to do when testing the app), I go over my 10 calls/minute limit.

There should be a way to combine data types into one call.
Photo of Globe199

Globe199

  • 14 Posts
  • 1 Reply Like

Posted 7 years ago

  • 8
Photo of wjcable

wjcable

  • 5 Posts
  • 0 Reply Likes
This would be great
Photo of juanbond

juanbond

  • 20 Posts
  • 8 Reply Likes
There is a way to do this. You can find the info on the Documentation page. For example, conditions, forecast, and geolookup in one call:

http://api.wunderground.com/api/YOUR_...
Photo of Globe199

Globe199

  • 14 Posts
  • 1 Reply Like
Wow, this looks great! I can't tell for sure by looking at the analytics, but it does appear to be combining all that data into one call. Thanks!!!
Photo of vancew

vancew

  • 9 Posts
  • 0 Reply Likes
Is this for sure only using one request if you combine several? or is it just making things easier and using up multiple of our requests?

Thanks
Photo of GEOSoft

GEOSoft

  • 26 Posts
  • 1 Reply Like
It's just a single request.