get_search: Search for restaurants

Description Usage Arguments Author(s) Examples

View source: R/getsearch.R

Description

Search for restaurants

Usage

1
2
3
4
5
get_search(key = NULL, q = NULL, entity_id = NULL,
  entity_type = NULL, start = NULL, count = NULL, lat = NULL,
  lon = NULL, radius = NULL, cuisines = NULL,
  establishment_type = NULL, collection_id = NULL, category = NULL,
  sort = NULL, order = NULL)

Arguments

key

your API key

q

search keyword

entity_id

location id

entity_type

location type city/subzone/zone/landmark/metro/group

start

fetch results after offset

count

max number of results to display

lat

latitude

lon

longitude

radius

radius around (lat,lon)

cuisines

list of cuisine id's separated by comma

establishment_type

estblishment id obtained from establishments call

collection_id

collection id obtained from collections call

category

category ids obtained from categories call

sort

sort restaurants by cost/rating/real_distance,choosing from cost,rating and real_distance

order

used with 'sort' parameter to define ascending/descending

Author(s)

Chenxi Yang <chenxxiyang@gmail.com>

Examples

1
get_search(key="testkey", q="van")

yitang310/zomator documentation built on Feb. 11, 2020, 2:39 a.m.