The FilterRestaurantsByCuisineAndGeolocation Choreo retrieves contextual restaurant data from Factual, filtered by cuisine and geo-location. More information about the Factual API can be found here.
To run this Choreo, you'll need:
- Latitude-Longitude coordinates to specify the search radius.
- A list of Factual cuisine categories specified here
Here's an example set of inputs:
Cuisine: Indian
Latitude: 40.718274
Longitude: -74.005323
Radius: 1000
The following is a sample of the JSON information returned by this Choreo:
{
"version": 3,
"status": "ok",
"response": {
"data": [
{
"accessible_wheelchair": true,
"address": "99 Hudson St",
"alcohol": true,
"alcohol_bar": true,
"alcohol_beer_wine": true,
"attire": "smart casual",
"category_ids": [
357,
457,
342
],
"category_labels": [
[
"Social",
"Food and Dining",
"Restaurants",
"Indian"
],
[
"Social",
"Food and Dining",
"Restaurants",
"Asian"
],
[
"Social",
"Food and Dining",
"Cafes, Coffee and Tea Houses"
]
],
"country": "us",
"cuisine": [
"Indian",
"Asian",
"Pakistani",
"Cafe",
"Vegetarian"
],
"factual_id": "3d483baa-6eef-4d8b-b03b-a036510c4511",
"groups_goodfor": true,
"hours": {
"monday": [
[
"11:30",
"15:00"
],
[
"17:30",
"23:30"
]
],
"tuesday": [
[
"11:30",
"15:00"
],
[
"17:30",
"23:30"
]
],
"wednesday": [
[
"11:30",
"15:00"
],
[
"17:30",
"23:30"
]
],
"thursday": [
[
"11:30",
"15:00"
],
[
"17:30",
"23:30"
]
],
"friday": [
[
"11:30",
"15:00"
],
[
"17:30",
"23:59"
]
],
"saturday": [
[
"11:30",
"15:00"
],
[
"17:30",
"23:59"
]
],
"sunday": [
[
"11:30",
"15:00"
],
[
"17:30",
"23:30"
]
]
},
"hours_display": "Mon-Thu 11:30 AM-3:00 PM, 5:30 PM-11:30 PM; Fri-Sat 11:30 AM-3:00 PM, 5:30 PM-11:59 PM; Sun 11:30 AM-3:00 PM, 5:30 PM-11:30 PM",
"kids_goodfor": true,
"latitude": 40.7191,
"locality": "New York",
"longitude": -74.0089,
"meal_deliver": true,
"meal_dinner": true,
"meal_lunch": true,
"meal_takeout": true,
"name": "Tamarind Tribeca",
"neighborhood": [
"Tribeca",
"Stapleton",
"TriBeCa - Downtown",
"Downtown",
"Chinatown/Little Italy",
"sohotrbcafindist",
"Lower Manhattan",
"Civic Center",
"Soho"
],
"open_24hrs": false,
"options_healthy": true,
"options_vegetarian": true,
"parking": false,
"parking_free": false,
"parking_garage": false,
"parking_lot": false,
"parking_street": false,
"parking_valet": false,
"parking_validated": false,
"payment_cashonly": false,
"postcode": "10013",
"price": 3,
"rating": 4,
"region": "NY",
"reservations": true,
"room_private": true,
"seating_outdoor": false,
"smoking": false,
"tel": "(212) 775-9000",
"website": "http://www.tamarinde22.com/",
"wifi": false,
"$distance": 315.1407
}
],
"included_rows": 20
}
}