Skip to content

Instantly share code, notes, and snippets.

@seyDoggy
Created January 18, 2015 21:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seyDoggy/f9afa625d391165443d9 to your computer and use it in GitHub Desktop.
Save seyDoggy/f9afa625d391165443d9 to your computer and use it in GitHub Desktop.
sample data returned from places
{
"html_attributions" : [],
"result" : {
"address_components" : [
{
"long_name" : "76",
"short_name" : "76",
"types" : [ "street_number" ]
},
{
"long_name" : "Dunsmere Dr",
"short_name" : "Dunsmere Dr",
"types" : [ "route" ]
},
{
"long_name" : "Laurentian Hills",
"short_name" : "Laurentian Hills",
"types" : [ "neighborhood", "political" ]
},
{
"long_name" : "Kitchener",
"short_name" : "Kitchener",
"types" : [ "locality", "political" ]
},
{
"long_name" : "Waterloo Regional Municipality",
"short_name" : "Waterloo Regional Municipality",
"types" : [ "administrative_area_level_2", "political" ]
},
{
"long_name" : "Ontario",
"short_name" : "ON",
"types" : [ "administrative_area_level_1", "political" ]
},
{
"long_name" : "Canada",
"short_name" : "CA",
"types" : [ "country", "political" ]
},
{
"long_name" : "N2E 1V6",
"short_name" : "N2E 1V6",
"types" : [ "postal_code" ]
}
],
"adr_address" : "\u003cspan class=\"street-address\"\u003e76 Dunsmere Dr\u003c/span\u003e, \u003cspan class=\"locality\"\u003eKitchener\u003c/span\u003e, \u003cspan class=\"region\"\u003eON\u003c/span\u003e \u003cspan class=\"postal-code\"\u003eN2E 1V6\u003c/span\u003e, \u003cspan class=\"country-name\"\u003eCanada\u003c/span\u003e",
"formatted_address" : "76 Dunsmere Dr, Kitchener, ON N2E 1V6, Canada",
"geometry" : {
"location" : {
"lat" : 43.4159491,
"lng" : -80.49694
}
},
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/geocode-71.png",
"id" : "483fce594a83e068a12babc20f5e87b8d36b7338",
"name" : "76 Dunsmere Dr",
"place_id" : "ChIJUUUs4Qr1K4gRIbS-k_m-Kcw",
"reference" : "CqQBkQAAABHtTmXX8JlIkM1NQKjjOV-_iGTTzQg0hgfeBWBdPoInG3I--AZDjv6X6Ae8ym07ZAHF3yH1X30OX56UL-EHAfassc1be2RHKLNzAiN3xYs3Vmz5OgaVIvsOnMGfhIUan0h1fWh8NWcPuSyrL02v3FqcbdJDrSh97wQeA6wm806nXD6Ah2pjMYszCKJe8WYKk8SCACPqQ-NuNU5rziNg9SESEP2haARaCChJPSCE1S8pkbMaFB0uHSB20XD7dtBBZDeJc9G9YDzC",
"scope" : "GOOGLE",
"types" : [ "street_address" ],
"url" : "https://maps.google.com/maps/place?q=76+Dunsmere+Dr,+Kitchener,+ON+N2E+1V6,+Canada&ftid=0x882bf50ae12c4551:0xcc29bef993beb421",
"vicinity" : "Kitchener"
},
"status" : "OK"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment