restcountries icon indicating copy to clipboard operation
restcountries copied to clipboard

Get information about countries via a RESTful API

Results 53 restcountries issues
Sort by recently updated
recently updated
newest added

Add easy to find information to readme, quoted from issues https://github.com/apilayer/restcountries/issues/251#issuecomment-927350169, https://github.com/apilayer/restcountries/issues/252#issuecomment-927350644 and https://github.com/apilayer/restcountries/issues/253#issuecomment-927365706

The url "https://restcountries.eu/rest/v2/all" doesn't give countries information. It display error message: "The page you requested could not be found. Try refining your search, or use the navigation above to locate...

https://restcountries.eu/rest/v2/alpha/zaf Currently returns "Pretoria" as its capital. This country has 3 capitals - "Pretoria", "Cape Town", and "Bloemfontein" Possibly return all the capitals as opposed to just the first?

enhancement

It would be wonderful if it would be possible to retrieve regions, provinces and cities. Something like: ``` javascript // Regions of country // /rest/alpha2/it/regions -> { regions: [ "Abruzzi...

enhancement

I was thinking to start translating other stuff: - currency - region - other names - subregion - cpital

enhancement

Is the list of translations configurable?

enhancement

In the current state I find it impossible to specifically search countries with multiple words in them. Example being South Korea. Even URI encoding it, `north%20Korea` throws me a 404....

enhancement

It would be helpful if there were a boolean property to indicate if the given country is currently a UN member state. Perhaps the property could even be an object...

enhancement

Right now the API only offers the capital city of a country. Would it be possible to add a parameter that offers you the top 5 cities based on population,...

enhancement