History api returns history for only a part of the day

  • 1
  • Problem
  • Updated 3 years ago
Hello
I try to retrieve historic data for a particular station. I call this API:
http://api.wunderground.com/api/<API_KEY>/history_20150718/q/32.365,34.906.json

The historic data returns, but I see that there is history only beginning at 6:05 AP. If I compare it to this:
http://www.wunderground.com/personal-weather-station/dashboard?ID=I902#history/tdata/s20150718/e2015...
(I go to 'Table')

I see that there is history for the entire day. Also, there is a difference between this data and API data - for example, at 06:05 the API says the humidity was 94%, while the table says it was 91% 

Am I missing something? Is there a way to access the table through the API?

Thanks!
Photo of Alex Zak

Alex Zak

  • 2 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of Tim Roche

Tim Roche, Official Rep

  • 317 Posts
  • 28 Reply Likes
That is from a nearby airport.
If you want a specific PWS, you will need to call the API with the PWS ID.
history_20150718/q/PWS:I902.json
Photo of Alex Zak

Alex Zak

  • 2 Posts
  • 0 Reply Likes
Oh thanks! This helps a lot!