Hotel details
Hotel details: description, policies, amenities and rooms.
MCP: get_hotel
Usage
fortrip hotels get <hotelId> [options]Options
| Flag | Field | Description |
|---|---|---|
<hotelId> | hotelId | hotelId from a search response. |
--rooms | include | Add the hotel's rooms. |
--locale en|zh | locale | Language for names and text in the response: en or zh. |
Output
Compact text on stdout: one line per hotel, offer or order, with its ids, and every note. With --json, the response as JSON on one line.
The JSON is the Hotel object. Errors go to stderr with an exit code.