Countries Cities

ÜCRETSİZ PREMIUM
Taraf Geo API | Güncelleyen 1日前 | Location
Popülerlik

8.9 / 10

Gecikme

139ms

Hizmet Düzeyi

100%

Health Check

N/A

Tüm Tartışmalara Dön

what is the endpoint to get city details including elevationMeters. I tried city details but It want me to specify the wikiDataId on the url. How do I make it unique such that I enter a city name and get wikiDataId from it then make another request using wikiDataId to get elevationMeters?

Rapid account: Bomma
bomma
5ヶ月前

what is the endpoint to get city details including elevationMeters. I tried city details but It want me to specify the wikiDataId on the url. How do I make it unique such that I enter a city name and get wikiDataId from it then make another request using wikiDataId to get elevationMeters?

Rapid account: Natkapral
natkapral Commented 5ヶ月前

Hi,

You can use Cities nearby https://countries-cities.p.rapidapi.com/location/city/nearby or Cities in the country https://countries-cities.p.rapidapi.com/location/country/US/city/list to get the list of the cities with geonameid

City details endpioint (https://countries-cities.p.rapidapi.com/location/city/5128580) is using the geonameid return from the previous rwquests to fetch the data about the city
Unfortunately elevation wasn’t included in this API, but we can add it next week.

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun