When I attempt to retrieve a list of cities using the specified parameters, I’m not getting any results:
URL: ‘https://wft-geo-db.p.rapidapi.com/v1/geo/cities’,
Params:
minPopulation: '1000000’
namePrefix: 'São Paulo’
languageCode: ‘pt-BR’
This issue persists even when I exclude the ‘languageCode,’ accentuation, or ‘minPopulation’ criteria, São Paulo city is not found. It seems that the API only return it when searching by the city ID, as demonstrated in this example:
https://wft-geo-db.p.rapidapi.com/v1/geo/cities/Q174
São Paulo is also a region (state), so it can be confusing, but São Paulo City alone is the largest city in Brazil.
加入讨论 - 在下面添加评论:
This has been fixed.
Thank you for reply!
I’ll look forward to it, thanks for the help.
It appears the daily update process marked this city as ‘deleted’. I will have a look in the coming days.