Skip to content

Instantly share code, notes, and snippets.

@thedanotto
Created September 23, 2016 18:44
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 thedanotto/a383eb75d5d12a3e82cc4082e5a084dd to your computer and use it in GitHub Desktop.
Save thedanotto/a383eb75d5d12a3e82cc4082e5a084dd to your computer and use it in GitHub Desktop.
https://api.yelp.com/v3/businesses/search?term=food&latitude=40.754766&longitude=-73.916454&radius=50&price=1,2,3,4
{
"total": 2,
"businesses": [
{
"review_count": 196,
"phone": "+17182551349",
"rating": 4,
"id": "homemade-taqueria-long-island-city",
"coordinates": {
"latitude": 40.7546939084048,
"longitude": -73.9165629007979
},
"name": "Homemade Taqueria",
"categories": [
{
"alias": "mexican",
"title": "Mexican"
}
],
"price": "$",
"image_url": "https://s3-media1.fl.yelpcdn.com/bphoto/ufdqnt8x86wQEDUM2XBbGA/o.jpg",
"url": "https://www.yelp.com/biz/homemade-taqueria-long-island-city?adjust_creative=DMBOHsVXPueysKCj3JkmtQ&utm_campaign=yelp_api_v3&utm_medium=api_v3_business_search&utm_source=DMBOHsVXPueysKCj3JkmtQ",
"location": {
"state": "NY",
"city": "Long Island City",
"address3": "",
"country": "US",
"zip_code": "11101",
"address2": "",
"address1": "45-09 34th Ave"
}
},
{
"review_count": 31,
"phone": "+17187210414",
"rating": 3.5,
"id": "daybreak-cafe-restaurant-long-island-city-3",
"coordinates": {
"latitude": 40.7547752559185,
"longitude": -73.9166848361492
},
"name": "Daybreak Cafe Restaurant",
"categories": [
{
"alias": "diners",
"title": "Diners"
}
],
"price": "$",
"image_url": "https://s3-media3.fl.yelpcdn.com/bphoto/_kFO77kAfYTSNNHFEuuzjg/o.jpg",
"url": "https://www.yelp.com/biz/daybreak-cafe-restaurant-long-island-city-3?adjust_creative=DMBOHsVXPueysKCj3JkmtQ&utm_campaign=yelp_api_v3&utm_medium=api_v3_business_search&utm_source=DMBOHsVXPueysKCj3JkmtQ",
"location": {
"state": "NY",
"city": "Long Island City",
"address3": "",
"country": "US",
"zip_code": "11101",
"address2": "",
"address1": "45-01 34th Ave"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment