Skip to main content

Documentation Index

Fetch the complete documentation index at: https://usenaive.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Travel commands are currently exposed under the business namespace:
CommandDescriptionMethod
naive business google hotel-searchesSearch hotels by keyword and locationLive
naive business google hotel-infoFetch detailed hotel data by identifierLive
naive business tripadvisor searchSearch places on TripAdvisorStandard (async)

Google Hotels

naive business google hotel-searches --keyword "hotels manhattan" --location-code 2840
naive business google hotel-info --hotel-id "ChIJN1t_tDeuEmsRUsoyG83frY4"

Endpoints

EndpointDescriptionMethod
hotel-searchesSearch hotels by query and geographyLive
hotel-infoDetailed hotel profile, rates, and metadataLive

Options

FlagRequiredDescription
--keyword <text>hotel-searchesHotel search query
--hotel-id <id>hotel-infoGoogle hotel identifier (CID or place_id)
--location-code <code>NoLocation code
--language-code <code>NoLanguage code
--check-in <YYYY-MM-DD>NoCheck-in date
--check-out <YYYY-MM-DD>NoCheck-out date
--adults <n>NoNumber of adults

TripAdvisor Discovery

naive business tripadvisor search --keyword "restaurants paris"

Endpoint

EndpointDescriptionMethod
searchFind businesses/places on TripAdvisorStandard (async)

Options

FlagRequiredDescription
--keyword <text>YesPlace query
--location-code <code>NoLocation code
--language-code <code>NoLanguage code
--priority <n>NoTask priority (1 high, 2 normal)

tripadvisor search runs asynchronously and returns a task ID:
# Submit
naive business tripadvisor search --keyword "hotels lisbon"
# -> task_id: abc-123

# Check ready
naive business tasks-ready --platform tripadvisor --endpoint search

# Get results
naive business task-get abc-123 --platform tripadvisor --endpoint search