hotel-pricer
jrojas537 tarafından
Search & ResearchÖzet
A Go-based CLI for searching hotel availability and pricing using the Amadeus API.
Açıklama
Bu Beceri Ne Yapar
CLI tool for querying hotel availability and pricing through the Amadeus API. Takes city codes, dates, and guest counts as input and returns structured JSON results.
Wraps the Amadeus hotel search API in a single CLI command, avoiding manual API calls or browser-based hotel searches during automated workflows.
Ne Zaman Kullanılır
- Find cheapest hotels in a city for specific travel dates
- Compare hotel options before booking a business trip
- Check availability for a last-minute weekend stay
- Search hotels within a custom radius of a city center
- Plan multi-guest travel with accurate room pricing
Örnek İş Akışı
User asks: Find hotels in NYC for 2 guests checking in Dec 24 and out Dec 28
- 1
Run hotel-pricer search with --city NYC --check-in 2024-12-24 --check-out 2024-12-28 --guests 2
- 2
Receive JSON response with available hotel listings and pricing
- 3
Parse results to identify options within the default 20km radius
- 4
Return formatted hotel options with prices to the user
List of available NYC hotels with rates for the 4-night stay for 2 guests
Gereksinimler
- Amadeus for Developers account
- Amadeus API Key
- Amadeus API Secret
Kurulum
clawhub install jrojas537/hotel-pricerCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.