Hi All,
I have an API key for google maps and its giving me the following response.
My first question is, how can i extract the data? Normally i work with XML responses via CURL so im new to this.
If i do use the XML example i just get access denied
{
"name": "1600 Amphitheatre Parkway, Mountain View, CA",
"Status": {
"code": 200,
"request": "geocode"
},
"Placemark": [ {
"id": "p1",
"address": "1600 Amphitheatre Pkwy, Mountain View, CA 94043, USA",
"AddressDetails": {
"Accuracy" : 8,
"Country" : {
"AdministrativeArea" : {
"AdministrativeAreaName" : "CA",
"SubAdministrativeArea" : {
"Locality" : {
"LocalityName" : "Mountain View",
"PostalCode" : {
"PostalCodeNumber" : "94043"
},
"Thoroughfare" : {
"ThoroughfareName" : "1600 Amphitheatre Pkwy"
}
},
"SubAdministrativeAreaName" : "Santa Clara"
}
},
"CountryName" : "USA",
"CountryNameCode" : "US"
}
},
"ExtendedData": {
"LatLonBox": {
"north": 37.4251466,
"south": 37.4188514,
"east": -122.0811574,
"west": -122.0874526
}
},
"Point": {
"coordinates": [ -122.0850990, 37.4227820, 0 ]
}
} ]
}