get_collections: get Zomato Restaurant collections

Description Usage Arguments Value Author(s) Examples

View source: R/getcollections.R

Description

search for Zomato Restaurant Collections in a City

Usage

1
2
get_collections(key = NULL, city_id = NULL, lat = NULL, lon = NULL,
  count = NULL)

Arguments

key

your API key

city_id

id of the city for which collections are needed

lat

latitude

lon

longitude

count

number of max results to display

Value

collection_id (integer, optional) ID of the collection of restaurants title (string, optional) Collection name url (string, optional) URL of the collection page description (string, optional) Short description of the collection image_url (string, optional) URL for header image of the collection res_count (integer, optional) Number of restaurants in the collection share_url (string, optional) short URL for apps and social sharing

Author(s)

Yi Tang <tangyi2014@gmail.com>

Examples

1
get_collections(key="testkey",city_id=256)

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