0
votes

On a google search box, I type “apartments near me”. How can I return the same result set using places API?

I have tried the following but I get slightly different results

https://maps.googleapis.com/maps/api/place/textsearch/json?query=aparments+near+me&location=30.423648,-97.683151&rankby=distance&key=API_KEY

The lat/long values used correspond to the “near me” location that I used

I’ll appreciate any help to point me towards getting the same results

1

1 Answers