Retuning multiple cities with same name in the same country

  • 2
  • Problem
  • Updated 8 months ago
Issue for few days now, I presume. q/country/city returning now an array of multiple stations instead the weather for one location, as was the case until few days ago.

Quote from another user Diego:
http://api.wunderground.com/api/<apikey>/conditions/q/<country>/<city>.json and I was able to get data for pretty much every city in my country.
For example, making a request for Porto, Portugal would get me the data from one station. Now, I get an array of 4 stations.

I would think a reasonable fix would be: if more stations are returned for one particular City, just display the data for the first one in WU list. At least is something.

Many thanks.

PS: please note that we are a paying customer, and out of all our locations of interest almost half have the above issue (when requesting data as per above q/country/city)
Photo of moater11

moater11

  • 48 Posts
  • 8 Reply Likes

Posted 1 year ago

  • 2
Photo of JanRahlke

JanRahlke

  • 1 Post
  • 0 Reply Likes
I have the same problem. Any update on this? Is the API broken?
Photo of Marcelo Hideaki Azuma

Marcelo Hideaki Azuma

  • 1 Post
  • 0 Reply Likes
Same issue, maybe the query needs to include the state, in my case would be q/Brazil/SP/Sao_Paulo.json
Photo of Necros Mania

Necros Mania

  • 1 Post
  • 0 Reply Likes
Up ! I have the same issue, add the state should be a good idea !