Api query for Fortaleza (Brazil) does not return forecast

  • 1
  • Problem
  • Updated 6 years ago
Api query for Fortaleza (Brazil) does not return forecast :
http://api.wunderground.com/api//geol...
Photo of tinchodeveloper

tinchodeveloper

  • 2 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 1
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 122 Reply Likes
Right now we have 2 IDs for Fortaleza in our database, so what you are seeing is an ambiguous result. When you see results like that, use the "l" (link) field in the JSON to refine your search to a specific ID, like this:

api.wunderground.com/api//geolookup/conditions/forecast/q/zmw:00000.1.82398
Photo of tinchodeveloper

tinchodeveloper

  • 2 Posts
  • 0 Reply Likes
That whas very helpful, thank you.
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 122 Reply Likes
Over the weekend this should fix to only resolve to 1 Foraleza
Photo of dayfabs

dayfabs

  • 4 Posts
  • 0 Reply Likes
Thanks Brendan. Can you help me rewrite the link below to include what you have just said "l" link field. I am sorry l do not understand precisely what to do. The example l guess will drive it home for me.

http://api.wunderground.com/api/a211d...

Thanks
Photo of dayfabs

dayfabs

  • 4 Posts
  • 0 Reply Likes
Thanks . Figured it out