Reverse Geocoding Google API - City and COuntry

Database & APIs

Hi,

I'm using the Google API for Reverse Geocoding and Places. What I would like to do on my app is use the PlacePicker widget so a user can set their location, but then for their City and Country to show on their profile. But with the Google API it only seems to pull out the full address from the JSON paths. I can't find a way to split the results into City and Country. Any ideas?

What have you tried so far?

I have been checking the documentaiton and videos but not seeing anything that allows me to do this with the Google api

Did you check FlutterFlow's Documentation for this topic?
Yes
1
5 replies