Aller au contenu
TakoAPI
Retour aux skills

amadeus-flights

par kirorab

Transportation
427Téléchargements rapportés par clawskills.sh
0Vues
0 mention J'aimeConnecte-toi pour aimer ce skill
—Pas encore noté
Ta note

Résumé

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

Description

Ce que fait ce skill

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.

Quand l'utiliser

  • 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

Exemple de workflow

ENTRÉE

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

SORTIE

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

Prérequis

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

Installation

clawhub install kirorab/amadeus-flights

Exécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.

Liens