how to get condition from the closest station(by coordinates)?

  • 1
  • Question
  • Updated 6 years ago
is there a way to get conditions and forcast by a station id or latitude and longitude coordinates(whitch will get the info from the closest station)?
Photo of amix

amix

  • 1 Post
  • 0 Reply Likes

Posted 6 years ago

  • 1
Photo of radonneus

radonneus

  • 3 Posts
  • 0 Reply Likes
Simple as that:

http:// api.wunderground.com/api/xxxxxxxxxxxxxxxx/conditions/forecast/q/37.8,-122.4.json

xxxxxxxxxxxxxxxx - API key
37.8,-122.4 - coordinates lat,lng