Fortrip

Hotel details

Hotel details: description, policies, amenities and rooms.

MCP: get_hotel

Usage

fortrip hotels get <hotelId> [options]

Options

FlagFieldDescription
<hotelId>hotelIdhotelId from a search response.
--roomsincludeAdd the hotel's rooms.
--locale en|zhlocaleLanguage 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.

On this page