Geography
GET /geo/cities 公開
Prefix-search city names for autocomplete.
Population-ranked prefix search over the embedded city dictionary, optionally narrowed to one country. A blank q returns an empty list.
查詢參數
qstring- Prefix to match.範例
berl countrystring- ISO 3166-1 alpha-2 code to narrow to.範例
DE
curl "https://freehire.me/api/v1/geo/cities?q=berl&country=DE"{ "data": [ { "value": "Berlin", "country": "DE" } ] }