π¦ ClawHub
Hotel Pricer
by @jrojas537
Search hotels by city, dates, and guests using Amadeus API, returning availability and pricing in JSON format via a Go CLI tool.
π‘ Examples
Search for Hotels
hotel-pricer search --city --check-in --check-out [flags]
Example:
hotel-pricer search --city NYC --check-in 2024-12-24 --check-out 2024-12-28 --guests 2
Flags
--city, -c: City code (IATA) (required)--check-in, -i: Check-in date (YYYY-MM-DD) (required)--check-out, -o: Check-out date (YYYY-MM-DD) (required)--guests, -g: Number of guests (default: 1)--radius, -r: Search radius in kilometers (default: 20)βοΈ Configuration
Credentials must be set before use.
hotel-pricer config set --api-key YOUR_API_KEY --api-secret YOUR_API_SECRET
TERMINAL
clawhub install hotel-pricer