World Cities

FREEMIUM
By Andres Olvera | Updated לפני 14 ימים | Location
Popularity

9.4 / 10

Latency

493ms

Service Level

100%

Health Check

N/A

Back to All Discussions

Curious about the API

Rapid account: Agnide 4
agnide4
לפני 4 שנים

Building an app where user input cities. Does this API suggest the cities while the user is typing?

Rapid account: Andruxnet
andruxnet Commented לפני 4 שנים

Hi,

The API does not that itself, but you can use it to build your own, something like this: https://www.w3schools.com/howto/howto_js_autocomplete.asp

You can use the API to first find the cities by country and state, and use that list of cities as a source for your autocomplete component.

Join in the discussion - add comment below:

Login / Signup to post new comments