Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

amadeus-flights

bởi kirorab

Transportation
427Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Query flight offers (price, schedule, availability) via Amadeus API.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: What are the cheapest flights from Hong Kong to Shanghai on March 20?

AGENT
  1. 1

    Resolve city names to IATA codes (HKG, PVG)

  2. 2

    Run query.mjs HKG PVG -d 2026-03-20 to fetch offers from Amadeus API

  3. 3

    Parse results for price, stops, and schedule

  4. 4

    Return ranked list of flight options with prices in CNY

ĐẦU RA

List of available flights with airline, departure time, stops, and price

Yêu cầu

  • AMADEUS_API_KEY environment variable
  • AMADEUS_API_SECRET environment variable
  • Amadeus developer account at developers.amadeus.com

Cài đặt

clawhub install kirorab/amadeus-flights

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết