Restaurant Search by Location
Search restaurants by term and geolocation
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 Restaurant 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.
Required Arguments
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
Available Fields
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
Example
Restaurant search by using a term and location
The following example retrieves the information of all restaurants which name contains the word "Salad"
Restaurant search by using two terms and location
The following example retrieves the information of all restaurants which name contains the word "Salad" or "Vegetarian"
Last updated