The ability to use Google Api to type post code and get a list of corresponding addresses (for UK).
How can I achieve this that just mention post code and get all nearby addresses as a response.
I tried with Geocoding API but only get a single address response instead of list of addresses.
These API I tried
https://maps.googleapis.com/maps/api/place/queryautocomplete/json?input=UK&place_id=ChIJFZ8Wqnq5h0gRZmTem1XcsPw&key=…
https://maps.googleapis.com/maps/api/place/details/json?fields=name%2Crating%2Cformatted_phone_number&place_id=ChIJdYDza5YXdkgRToN_p0Gny5E&key=…
https://maps.googleapis.com/maps/api/geocode/json?&address=EH21+6UUUK&components=country:UK&key=…
https://maps.googleapis.com/maps/api/geocode/json?components=postal_code:EH21+6UUUK|country:uk&key=…
https://geocode.maps.co/search?q=Statue&api_key=….
Note: I didn’t mentioned API key because of security reasons.
Need some guidance or reference how should I achieve my requirement.
Piyush is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.