Geolookup does not know China?

  • 1
  • Question
  • Updated 6 years ago
For some countries e.g. China or Macedonia Geolookup does not deliver the country name in the variable country_name. Why?
Photo of andiswetter

andiswetter

  • 3 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 1
Photo of John Celenza

John Celenza, Official Rep

  • 40 Posts
  • 21 Reply Likes
Hi,

Can you paste the URL you are using?

We are about to launch (in about 15 mins) a build that fixes:
http://api.wunderground.com/api/[key]...

That wasn't working properly.

But, I am not exactly sure how to reproduce the problem you speak of.

Thanks,
John
Photo of andiswetter

andiswetter

  • 3 Posts
  • 0 Reply Likes
Hi John,

here is an URL that does not work:

http://api.wunderground.com/api/89a12...

Deleivered result is:
"country": "CI",
"country_iso3166": "CN",
"country_name": ""

The same URL but with setting lang:LI delivers the country_name:

http://api.wunderground.com/api/89a12...

"country": "CI",
"country_iso3166": "CN",
"country_name": "China",

Note, that for most countries geolookup does deliver the country_name in German. Only a few countries like China or Macedonia do not work. I checked some other languages, same problem.

Looking forward for your bug fix ....

Kind regards,
Andreas
Photo of John Celenza

John Celenza, Official Rep

  • 40 Posts
  • 21 Reply Likes
Hi Andreas,

I understand now.

I will try to figure out a solution here soon.

Thanks,
John