GeoDB Cities

फ्रीमियम
Verified
द्वारा Michael Mogley | अपडेट किया गया 22 days ago | Data
लोकप्रियता

9.9 / 10

लेटेंसी

54ms

सेवा का स्तर

100%

Health Check

100%

सभी चर्चाओं पर वापस जाएं

Search city by name

Rapid account: Coach 72900
coach72900
3 years ago

Hi Guys, Am I missing something or there is no easy way to search a city just by name? In case that wouldn’t be possible, How would be the easiest way to achieve that? Get the wikidata from each city looks a bit tedious to accomplish such an easy task. Thanks

Rapid account: Brunolopesbrandao
brunolopesbrandao Commented 2 years ago

Hi everyone,

When I try to search a city with namePrefix the endpoint search across region field and not in name or city field.

Please try namePrefix=São P and language=pt

Thanks

Rapid account: Wirefreethought
wirefreethought Commented 3 years ago

Hi. The way to search by name is to use the namePrefix param. This will try to match the prefix you give on all words in the name (at the start of each word). http://geodb-cities-api.wirefreethought.com/docs/guides/getting-cities-for-name-prefix

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें