Can I get the real time weather data from a specific weather station?

  • 1
  • Question
  • Updated 3 years ago
it looks like we can get the list of a nearby weather station, but, how could I get the weather data from each weather station, if it is allowed ? 
Photo of jessie

jessie

  • 3 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of Tim Roche

Tim Roche, Official Rep

  • 295 Posts
  • 22 Reply Likes
You can use any of the parameters in geolookup in most API calls
http://www.wunderground.com/weather/api/d/docs?d=data/geolookup
Photo of jessie

jessie

  • 3 Posts
  • 0 Reply Likes
Thank you very much for your reply. however, maybe i didn't explain the question clearly.  using the geolookup, i can get a list of nearby weather stations, for example, there is a pws with the ID of "DUBLIN55" with the distance of 6km. so Could I see the raw data from DUBLIN55 ? 
Photo of Tim Roche

Tim Roche, Official Rep

  • 295 Posts
  • 22 Reply Likes
At the bottom of that documentation page, there are ways to call the geolookup api by various location types such as

 /q/pws:DUBLIN55.json

You can use this same query parameter to call most APIs

api.wunderground.com/api/key/conditions/q/pws:DUBLIN55.json
api.wunderground.com/api/key/history/q/pws:DUBLIN55.json

etc...
Photo of jessie

jessie

  • 3 Posts
  • 0 Reply Likes
THANK YOU VERY MUCH