Add a database row from value returned by Google Maps Api

I’m trying to add the value returned by Google Maps Places API to the database. Is there a way to do it? Trying to test a work around for my earlier requirement posted here - Autofill search bar with suggestions of places from Google Maps