Compare hotels by travel time
compare_hotelsCompare up to 10 hotels by drive or walk time to stations, airports, and attractions; see distance, total minutes, price from the search, and rank.
Instructions
Compares up to 10 hotels by travel time to a set of labelled places, such as tonight's arrival station, tomorrow's departure airport and attractions. Hotels are hotel_ids from search_hotels (which also supplies their cheapest price) or name + lat/lng. Places are lat+lng, station code, IATA code or place name. Returns, per hotel, the time and distance to every place, total minutes, the cheapest price from the search that found it (with its source, fetch time and dates) and a rank by total minutes. Does not fetch new prices; get_hotel_rates does.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | drive (car/taxi, with traffic allowance) or walk. | drive |
| hotels | Yes | Hotels to compare. | |
| places | Yes | Places to measure from each hotel; set label, e.g. 'arrive NDLS 20:10'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| hotels | Yes |