How do I get information using coordinates instead of state/city?

  • 1
  • Question
  • Updated 6 years ago
How do I get information using coordinates?

For example, how would I form this get query to use coordinate instead of the state/city? Or better yet, point me to any documentation that can help me learn how to do it.

http://api.wunderground.com/api/4edd0...
Thank you
Photo of MauiWind

MauiWind

  • 2 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 1
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 122 Reply Likes
Add /geolookup/ to get info on the city:
http://api.wunderground.com/api/4edd0...

and use lat/lon like this to do a coordinate search (bottom of the page examples):
http://api.wunderground.com/weather/a...
Photo of MauiWind

MauiWind

  • 2 Posts
  • 0 Reply Likes
Brendan,

Thank you. I don't know how I missed the geolookup... This is what I needed.

Thanks again