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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.