get_location_details: get location details

Description Usage Arguments Value Author(s) Examples

View source: R/getlocation_details.R

Description

Get Foodie Index, Nightlife Index, Top Cuisines and Best rated restaurants in a given location

Usage

1
2
get_location_details(key = NULL, entity_id = NULL,
  entity_type = NULL)

Arguments

key

API key, string

entity_id

location id obtained from locations api, integer

entity_type

location type obtained from locations api, string

Value

dataframe id (integer, optional): ID of the restaurant name (string, optional): Name of the restaurant url (string, optional): URL of the restaurant page location (ResLocation, optional): Restaurant location details average_cost_for_two (integer, optional): Average price of a meal for two people price_range (integer, optional): Price bracket of the restaurant (1 being pocket friendly and 4 being the costliest) currency (string, optional): Local currency symbol; to be used with price thumb (string, optional): URL of the low resolution header image of restaurant featured_image (string, optional): URL of the high resolution header image of restaurant photos_url (string, optional): URL of the restaurant's photos page menu_url (string, optional): URL of the restaurant's menu page events_url (string, optional): URL of the restaurant's events page user_rating (UserRating, optional): Restaurant rating details has_online_delivery (boolean, optional): Whether the restaurant has online delivery enabled or not is_delivering_now (boolean, optional): Valid only if has_online_delivery = 1; whether the restaurant is accepting online orders right now has_table_booking (boolean, optional): Whether the restaurant has table reservation enabled or not deeplink (string, optional): Short URL of the restaurant page; for use in apps or social shares cuisines (string, optional): List of cuisines served at the restaurant in csv format all_reviews_count (integer, optional): [Partner access] Number of reviews for the restaurant photo_count (integer, optional): [Partner access] Total number of photos for the restaurant, at max 10 photos for partner access phone_numbers (string, optional): [Partner access] Restaurant's contact numbers in csv format photos (Array[Photo], optional): [Partner access] List of restaurant photos all_reviews (Array[Review], optional): [Partner access] List of restaurant reviews

Author(s)

Huazi Li <632473742@qq.com>

Examples

1
get_location_details("testkey",1,"city")

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