How to get a user input for city, state, country?

During member onboarding I want to collect the current location a member resides in. The information I want to collect is city, state, country (and equivalent for outside of the United States). Is creating a search bar input and connecting it to Google Places API the right approach? Is there any way to prevent names of restaurants, etc. from showing up (I only want city, state, country). Any help is greatly appreciated! Thank you!

You can use the Google Places API and restrict the search for city.

set the types=“cities” | “geocode”

Ankur@ Nocodetalks
Looking for a Bubble Coach? Check out here

Here’s how I collect geographic addresses: Timezone API. Is there one available? - #38 by keith

This worked! Thanks so much!