hotel-pricer
由 jrojas537 提供
Search & Research简介
A Go-based CLI for searching hotel availability and pricing using the Amadeus API.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
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
前置要求
- Amadeus for Developers account
- Amadeus API Key
- Amadeus API Secret
安装
clawhub install jrojas537/hotel-pricer运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。