secret

  • Download Gist
places-1.2-starbucks.json
JSON
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
{
"distance": 0.05628799743220005,
"geometry": {
"coordinates": [
-122.438629,
37.800621
],
"type": "Point"
},
"id": "afe42774-7d42-47e9-9eda-1d19898340e0",
"properties": {
"address": "2132 Chestnut St",
"attribution": "Factual Inc.",
"categories": [
"Food & Beverage",
"Cafes, Coffee Houses & Tea Houses"
],
"closed": false,
"country": "US",
"license": "http://www.factual.com/tos",
"locality": "San Francisco",
"name": "Starbucks",
"phone": "+1 415-673-6781",
"postcode": "94123",
"region": "CA"
},
"selfLink": "http://api.simplegeo.com/1.2/features/afe42774-7d42-47e9-9eda-1d19898340e0.json",
"type": "Feature"
}

Changes from Places 1.0:

  • 'distance' is now outside of the GeoJSON properties dictionary
  • 'city' is now 'locality'
  • 'classifiers' is now 'categories', and we've Places 1.2 uses the Factual heirchical category schema as defined here: http://wiki.developer.factual.com/w/page/33153715/Factual%20Local%20Taxonomy (URL encoded version available)
  • 'closed' is a new field that indicates if a business or place is no longer open
  • 'province' is now 'region'
  • The ID format has changed to reflect Factual's ID

See https://gist.github.com/6ab6af833223298cf22c for the equivalent Places 1.0 response.

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.