GeoDB Cities

פרמיום
Verified
על ידי Michael Mogley | מְעוּדכָּן 22 giorni fa | Data
פּוֹפּוּלָרִיוּת

9.9 / 10

חֶבִיוֹן

54ms

רמת שירות

100%

Health Check

100%

חזרה לכל הדיונים

Search city by name

Rapid account: Coach 72900
coach72900
3 anni fa

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 anni fa

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 anni fa

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

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות