I would like to return specific places (stores like Target, Macy’s, etc.) by location (latitude, longitude).
I have been using the google places api and entering the different stores in the name parameter. The results are inconsistent at best.
Is this the api I should be using to return specific stores by name and proximity? The google places api near by search has only a single name parameter. I would ideally like to search for several specific stores in a single request to the endpoint for performance reasons.
In conclusion
What api should I be using to return specific stores by name and proximity?
The Google Places API is the correct Google API to use; however, as you mentioned it does not support multiple
nameorkeywordparameters. There is an active Places API – Feature Request for this here, please star it if you wish to see it resolved and to be notified of future changes.Instead of using the
nameparameter, try using thekeywordparameter. Thekeywordparameter is matched against all available fields, including but not limited to name, type, and address, as well as customer reviews and other third-party content. This can often yield more or better results.