wunderground API - Getting the location from the Forecast response.

  • 1
  • Question
  • Updated 4 months ago
How do I confirm/display the location of the forecast from the response?
http://api.wunderground.com/api/KEY/forecast/q/10001.xml, or
http://api.wunderground.com/api/KEY/forecast/q/autoip.xml

I cannot confirm from this response, that the zip code in the URL, 10001 is for NYC.  I understand I can cross reference this information from the Conditions, or GeoLookup, but I do not see a direct tie, or ID across these files to actually confirm with certainty.  Am I missing something, or is an additional option to show the location?

Thank you in advance.
Photo of Email Mike

Email Mike

  • 1 Post
  • 0 Reply Likes
  • Good

Posted 4 months ago

  • 1
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 961 Posts
  • 122 Reply Likes
add /geolookup/ to your API calls to see the location