View source: R/searchLocation.R
1 2 3 4 | searchLocation(location, api_key = "d306zoyjsyarp7ifhu67rjxn52tv0t20",
checkin = Sys.Date(), checkout = Sys.Date() + 1, guests = 1,
min_bathrooms = 1, min_bedrooms = 1, min_beds = 1, price_min = 0,
price_max = 25, min_num_pics = 5, verbose = F)
|
location |
string, the desired search place, usually a city name. Doesn't matter if capitalized or not. For example, Osaka or osaka. |
api_key |
string, your own Airbnb API key. Ours has been provided for convenience. |
checkin |
string, check in date of format "yyyy-mm-dd". |
checkout |
string, check out date of format "yyyy-mm-dd". |
guests |
integer, number of guests, default = 1. |
min_bathrooms |
numeric, min number of bathrooms, default = 1. |
min_bedrooms |
integer, min number of bedrooms, default = 1. |
price_min |
integer, min price (USD) per night, default = 0. |
price_max |
integer, max price (USD) per night, default = 25. |
min_num_pics |
integer, min number of pictures, default = 5. |
verbose |
boolean, T/F, indicating whether to print status updates. |
A named list containing various search outputs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.