How do I request weather based on an weather station code?

  • 1
  • Question
  • Updated 5 years ago
I want to get information from specific weather station, for example KCASANTA142 or KCASANTA189
Photo of aleksm

aleksm

  • 1 Post
  • 0 Reply Likes

Posted 5 years ago

  • 1
Photo of WunderWilliam

WunderWilliam

  • 267 Posts
  • 18 Reply Likes
You can do it by having a pws:[STATION NAME] call, like this:

http://api.wunderground.com/api/xxxxx...

William
Wunderground Support
Photo of aleksm

aleksm

  • 1 Post
  • 0 Reply Likes
William,

Thank you for fast replay. It works!

I have another question.
How to find out closest weather station code, base on position (lat, lon)?

Alex.
Photo of afelicioni

afelicioni

  • 227 Posts
  • 43 Reply Likes
you can use the geolookup feature

see http://www.wunderground.com/weather/a...