hotel-pricer
bởi jrojas537
Search & ResearchTóm tắt
A Go-based CLI for searching hotel availability and pricing using the Amadeus API.
Mô tả
Kỹ năng này làm gì
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.
Khi nào nên dùng
- 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
Quy trình ví dụ
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
Yêu cầu
- Amadeus for Developers account
- Amadeus API Key
- Amadeus API Secret
Cài đặt
clawhub install jrojas537/hotel-pricerChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.