How do I differentiate between cities with the same names in my JSON request?

  • 1
  • Question
  • Updated 7 years ago
I have a question about cities within a country that share names. How does this service differentiate between, say, Borden, Ontario, and Borden, Saskatchewan? The query doesn't seem to have a province option.
Photo of ingrediential


  • 2 Posts
  • 0 Reply Likes

Posted 7 years ago

  • 1
Photo of afelicioni


  • 227 Posts
  • 43 Reply Likes
it seems that Borden, Saskatchewan is not available in WU API toponomasic database, neither even raises from Borden basic query ambiguous case.

the closest query to a working response is to use latitude and longitude, so a /q/52.41,-107.22.json query triggers the wanted point and at this time returns conditions data from Saskatoon