Closed devjk1 closed 3 years ago
@kylebarney When you get a chance, could you make sure this is implementing the Google Places Autocomplete (https://github.com/tipoff/laravel-google-api/issues/18) as you had in mind with the tipoff/laravel-google-api package?
https://developers.google.com/maps/documentation/places/web-service/autocomplete
In the example of the JSON response, the JSON object -> predictions -> terms, the address is split into terms/parts.
If the parts are split consistently, then I can move on to extracting street address, city, state, etc... then saving as a Model.
Unfortunately the example does not show a response where types=address, and we need a test environment to move further.
Thank you, @kylebarney. Let's stick with this implementation then and we can refactor later if necessary to have rate-limiting functionality.
Please delete/don't merge this PR. I created a new PR to replace this.
** do not TEST or merge, I need to add session tokens.
Need a test environment.