How to modify query to get Daily Average for a personal weather station for a range of dates?

  • 1
  • Question
  • Updated 1 month ago
I can get weather hourly for one personal weather station with the following query.  How can I modify it to get a daily average for a range of dates? http://api.wunderground.com/api/61c6b0ebb97134a4/history/2016/1/1/pws/q/pws:KVAFAIRF23.xml
Photo of thomas.m.carnahan

thomas.m.carnahan

  • 2 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of thomas.m.carnahan

thomas.m.carnahan

  • 2 Posts
  • 0 Reply Likes
I found out that there is no date range capability.  My requirement is to pull daily average weather for a site identified by Lat and Long.  Is that possible?
Photo of alan933

alan933

  • 2 Posts
  • 0 Reply Likes
They used to have a date range in the archives section but it was removed. I suspect political motivation to keep people from knowing the trends.
Photo of Victoria Gardner

Victoria Gardner, Official Rep

  • 619 Posts
  • 88 Reply Likes
Thomas (and everyone else) PLEASE DO NOT POST YOUR KEY PUBLICLY.  You are limited as to the number of calls a key can make. 

There is no nefarious political issue.  It's just the way this API is structured.  If you want to look at trends, do history/all and look all you want. 

--Victoria