I would like to search google places based using a REST call. I am trying the following URL format as per Googles documentation, but I"m getting a 404 not found. Can anyone suggest the proper format for a Google Places rest call.
;key={MYKEY}&sensor=false
I would like to search google places based using a REST call. I am trying the following URL format as per Googles documentation, but I"m getting a 404 not found. Can anyone suggest the proper format for a Google Places rest call.
https://maps.googleapis./maps/api/place/textsearch/output?query=newyork&key={MYKEY}&sensor=false
Share
Improve this question
asked Feb 3, 2013 at 6:18
Ben PearceBen Pearce
7,09419 gold badges76 silver badges129 bronze badges
1 Answer
Reset to default 10Replace output
with either json
or xml
. Change the URL to:
https://maps.googleapis./maps/api/place/textsearch/json?query=newyork&key={MYKEY}&sensor=false
Reference: Google Places API