Under the credentials tab of your project dashboard, start by creating a new API key.
Once your API key has been created, search for the Google Places API service within the main search bar.
Now, select to enable this service.
From here, copy your original API key into your plugin settings field.
Once you’ve set up the plugin, you can now search and display a list of places.
When using a repeating group to display a list of Google places, select the type of content to be Google Place, then set your data source to get data from external API. The API you’ll need to pull data from is the ‘Get Google Places’ option.
After configuring your data source, you can now update the additional fields to refine your list of Google Places.
Note: If you’d like user’s to search for their own Google Places, simply add an input element to act as a search bar, then match its value with the ‘query’ element field.
To display a list of the returned Google Places, start adding dynamic elements within your repeating group, then choose values from the current cell’s Google Place’s operator.
How can you store Google Places data within your database?
Like any data, it’s possible to store the value of a Google Place from a repeating group cell by creating or making changes to a thing within your database. Within a workflow, simply match any data fields with the values of the current cell’s Google Place. If you’d like some additional guidance when working with Google Maps locations, we’d recommend reviewing our Maps API documentation.