Fortrip

Get hotel details

One hotel's catalogue facts: names, address, location, time zone, check-in and check-out times, the full description, every policy and the amenities, and its rooms with include: "rooms".

"Not listed" is not "no". No prices or availability: get_hotel_offers has those.

get_hotel · Read-only · CLI: fortrip hotels get

Input

hotelIdstringrequired

hotelId from a search response.matches ^htl_[0-9A-Za-z]{20}$

include"rooms"

rooms adds the room list.

locale"en" | "zh"

Language for names and text in the response: en or zh.

Output

structuredContent is the Hotel object. content[0] is the answer as compact text, and content[1] is the presentation hint: how to show hotels to the user. Errors are described in the overview.

On this page