Google Places API JSon Data
Hello All,
I am trying to retrieve data from Google's Places API but I only seem to receive partial data using the examples provided: Code:
https://maps.googleapis.com/maps/api/place/radarsearch/json?location=48.859294,2.347589&radius=5000&types=food|cafe&sensor=false&key=MyAPIKey This is the end part of the result, it does not seem to contain the 'Address' or the 'Name' in the data, what could I be missing?: Code:
{ Every example that I see online appears to retrieve information like this: Code:
{ trscookie |
I would suggest looking at the updated Google Places API Docs: https://developers.google.com/places...SearchRequests
The examples now show that the results returned include a field called "formatted_address": "results" : [ { "formatted_address" : "529 Kent Street, Sydney NSW, Australia", "geometry" : { "location" : { "lat" : -33.8750460, "lng" : 151.2052720 } }, "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png", "id" : "827f1ac561d72ec25897df088199315f7cbbc8ed", "name" : "Tetsuya's", "rating" : 4.30, "reference" : "CnRmAAAAmmm3dlSVT3E7rIvwQ0lHBA4sayvxWEc4nZaXSSjRtfKRGoYnfr3d5AvQGk4e0u3oOErXsIJwtd3Wck1Onyw6pCzr8sw W4E7dZ6wP4dV6AsXPvodwdVyqHgyGE_K8DqSp5McW_nFcci_-1jXb5Phv-RIQTzv5BjIGS0ufgTslfC6dqBoU7tw8NKUDHg28bPJlL0vGVWVgbTg", "types" : [ "restaurant", "food", "establishment" ] }, There's more detail about the results returned here: https://developers.google.com/places...eSearchResults |
All times are GMT -5. The time now is 05:25 PM. |