MartinsOnuoha / countriesNowAPI

CountriesNow is an Open source API for retrieving geo-information for countries, including their states, cities, population, etc. 🌎
http://countriesnow.space
MIT License
179 stars 55 forks source link

Duplicate City Names #114

Closed knityanand closed 1 year ago

knityanand commented 1 year ago

Cheers for a very useful set of API's.

However, There are some cities which are getting duplicated. e.g.

For the below API https://countriesnow.space/swagger-docs/#/Cities/post_state_cities with the below data { "country": "India", "state": "Telangana" }

And the result, I see that some cities are getting duplicated e.g.

"Hyderabad", "Hyderābād",

One more e.g for the same API with the below input data { "country": "India", "state": "Andhra Pradesh" }

You get the following duplicates in the output. "Guntur", "Guntūr",

MartinsOnuoha commented 1 year ago

Hi @knityanand Are these all of the duplicates you found? if so would you like to open a MR to fix this issue?

knityanand commented 1 year ago

Hello @MartinsOnuoha , these were just a sample set of issues. I have not checked all of them..

MartinsOnuoha commented 1 year ago

@knityanand thanks for reporting this, we now have an open MR to fix this