Home » Php » retrieve the postal code along with the address using the Google Places Autocomplete API

retrieve the postal code along with the address using the Google Places Autocomplete API

Posted by: admin October 29, 2018 Leave a comment

Questions:

I’m using the Places Autocomplete Google API passing – input and key. I type an address (search text) which is sent to the API and all the matches (addresses) for that text is returned from which I select one. The addresses returned don’t have a postal code. How can I get it? What am I doing wrong

Answers: