amadeus-flights
kirorab 제작
Transportation요약
Query flight offers (price, schedule, availability) via Amadeus API.
설명
이 스킬이 하는 일
Queries real-time flight offers via the Amadeus API, returning prices, schedules, stop counts, and seat availability. Supports IATA airport codes with built-in lookup for 40+ Chinese cities. Works in test or production mode depending on the configured base URL.
Amadeus provides real carrier pricing and availability in one API call, avoiding manual searches across multiple booking sites.
사용 시점
- Checking cheapest flights between two cities on a specific date
- Finding non-stop business class options for a work trip
- Looking up IATA codes for Chinese cities by name
- Comparing economy vs premium economy pricing
- Getting raw JSON flight data for further processing
예시 워크플로
User asks: What are the cheapest flights from Hong Kong to Shanghai on March 20?
- 1
Resolve city names to IATA codes (HKG, PVG)
- 2
Run query.mjs HKG PVG -d 2026-03-20 to fetch offers from Amadeus API
- 3
Parse results for price, stops, and schedule
- 4
Return ranked list of flight options with prices in CNY
List of available flights with airline, departure time, stops, and price
요구 사항
- AMADEUS_API_KEY environment variable
- AMADEUS_API_SECRET environment variable
- Amadeus developer account at developers.amadeus.com
설치
clawhub install kirorab/amadeus-flightsCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.