Hacker News new | ask | show | jobs
by jodyr 4608 days ago
Some of the data seems to be incorrect:

http://restcountries.eu/rest/alpha2/za

The South African currency is ZAR, not SOS. Cape Town is the legislative capital, but not _the_ capital.

If you search by currency for ZAR:

http://restcountries.eu/rest/currency/zar

You get South Georgia. I assume that's meant to be South Africa.

3 comments

And what about the Netherlands which has two capitals? A national capital (Amsterdam) and an administrative capital (Den Haag)?

And what about countries that use two currencies... oh wait, Cuba actually lists two currencies; never mind.

As a Dutch person I would say Amsterdam would be the correct listing as it is the official capital, which is what is listed.
SOS is the Somali shilling. It seems currencies for Slovakia (No idea what currency XSU is) to South Georgia have shifted one country down.
Same for "calling code". 44 returns Guernsey which is correct but I would expect the UK instead.