JSON/Weather Data updating only after 3 hours.

  • 1
  • Problem
  • Updated 12 months ago
Hello! I am hitting API using  http://api.wunderground.com/api/foo/conditions/q/India/Pune.json
Please note that foo is my API key, Pune is city in India.

The problem is, I am not getting latest weather update.

I can see data updating every 3 hour, figured out using "observation time" in JSON. Waiting for 3 hours to get latest updated data is really cumbersome. 
How can I get latest update at least every hour.

Thanks in advance :)
Photo of Swapnil

Swapnil

  • 2 Posts
  • 0 Reply Likes

Posted 1 year ago

  • 1
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 122 Reply Likes
Some locations outside of the United States only update every 3 hours.  That's just what their update schedule is, and we don't control it.  You could try looking for a Personal Weather Station in that area for more frequent updates. 
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 122 Reply Likes
http://api.wunderground.com/api/APIKEY/conditions/forecast/q/pwsid:IPUNE3.json will allow you to select a specifc PWS
(Edited)
Photo of Swapnil

Swapnil

  • 2 Posts
  • 0 Reply Likes
Thanks Brendan. Found several other ways too! Cheers!!