Choose correct city?

  • 1
  • Question
  • Updated 5 years ago
Hello,

I want to use the city Breda in the Netherlands.
I use this api url:
http://api.wunderground.com/api/API-K...

I get this xml values:

0.1
http://www.wunderground.com/weather/a...

conditions
forecast

Breda
Breda
IA
US
US
Verenigde Staten
51436.1.99999
/q/zmw:51436.1.99999

Breda
Breda

NL
NL
Nederland
00000.6.06350
/q/zmw:00000.6.06350

Breda
Breda

SP
ES
Spanje
00000.13.08184
/q/zmw:00000.13.08184

So there are 3 city's with the name Breda. (US, NL and SP)
How do I with the above API url choose the right city? (Breda in the Netherlands)

Thanks.
Jan Hein
Photo of janhein6

janhein6

  • 2 Posts
  • 0 Reply Likes

Posted 5 years ago

  • 1
Photo of afelicioni

afelicioni

  • 227 Posts
  • 43 Reply Likes
You can use http://api.wunderground.com/api/API-K...
For the explanation see Ambiguous Results paragraph at http://www.wunderground.com/weather/a...

Otherwise just call http://api.wunderground.com/api/API-K...