I have a huge(50k) db with addresses like
12340 Via Moura, San Diego, CA, United States
17029 Avenida Cordillera, San Diego, CA, United States
3324 Sandleheath, Sarasota, FL 34235, USA
They were autocompleted with google Places Autocomplete js api and then stored in db.
Now I need to get distinct parts state
, city
, zip
... etc of these addresses.
Is it possible to do with some google of API?
Any ideas?
I found a solution. Need to do two API calls to google places API. First call to get PLACE_ID by full address, second one get all data about address by PLACE_ID.