Retuning multiple cities with same name in the same country

  • 2
  • Problem
  • Updated 3 years 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:<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


  • 49 Posts
  • 8 Reply Likes

Posted 3 years ago

  • 2
Photo of 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 !