Wrong city: New York instead of Boston

  • 1
  • Problem
  • Updated 2 months ago
  • (Edited)
The query
http://api.wunderground.com/api/myKey/history_20120606/q/CA/San_Francisco.json

from the example in the documentation (history), results in data for Los Angeles. Why?! I am trying to get the results for Boston, MA. However, following the same query pattern,

http://api.wunderground.com/api/myKey/history_20110606/q/MA/Boston.json

I get results for New York.

Photo of Janez

Janez

  • 1 Post
  • 0 Reply Likes
  • frustrated

Posted 2 months ago

  • 1
Photo of Tim Roche

Tim Roche, Official Rep

  • 328 Posts
  • 36 Reply Likes
Are you getting the location from the tzname field?

This is the long name of the timezone, not a place indicator.