Restaurant Search by Location
Search restaurants by term and geolocation
Last updated
Was this helpful?
Search restaurants by term and geolocation
Last updated
Was this helpful?
The restaurantSearchByLocation query searches restaurants that match your query term and provided geo location(lat, lon), it returns two lists of results onPlan and otherResults, each containing a list of objects
onPlan represent restaurants that contains at least one menu items that complies with the user's program and all kind of preferences and restrictions.
otherResults represent restaurants that don't contain any suggested menu items based on non-compliance with the user's program or the user's preferences and restrictions.
Argument
Type
Required
Description
restaurantSearchByLocation
query
False
Name or keyword of the resturant name. It is possibe to add more than one value. The query is case insensitive. For example, salad or Salad should retreive the same information.
lat
location
True
Latitude where the restaurant is located
long
location
True
Longitud where the restaurant is located
Field
Type
Description
name
string
Name of the restaurant
address1
string
Restaurant address
recomendationsCount
string
Number of recommended restaurants
recommendation
string
Name of the recommended restaurant
The following example retrieves the information of all restaurants which name contains the word "Salad"
The following example retrieves the information of all restaurants which name contains the word "Salad" or "Vegetarian"