airfrance-afkl
por iclems
TransportationResumo
Track Air France flights using the Air France–KLM Open Data APIs.
Descrição
O que esta skill faz
Tracks Air France flights using the AFKL Open Data Flight Status API. Monitors delays, gate changes, and aircraft updates, and follows the previous-flight chain to catch upstream disruptions before they affect a departure.
Polling the previous-flight chain means you catch cascading delays before the airline officially updates the outbound flight status.
Quando usá-la
- Checking if AF007 is on time before heading to JFK
- Getting an alert when a flight gate changes 2 hours out
- Finding out if an inbound aircraft is delayed and will cause a late departure
- Looking up the tail number to assess cabin Wi-Fi availability before upgrading
- Setting up automated polling that respects API rate limits around a departure window
Exemplo de fluxo de trabalho
User asks: Is AF7 from JFK on January 29 running on time, and does the aircraft have Wi-Fi?
- 1
Resolve flight identifier AF7 and departure date 2026-01-29 to API parameters (carrier AF, flight 7, origin JFK)
- 2
Call afkl_flightstatus_query.mjs with those parameters using AFKL_API_KEY
- 3
Parse the response for times.* fields to check scheduled vs. estimated departure
- 4
Extract aircraft.registration (tail number) and infer sub-fleet and cabin generation
- 5
Assess Wi-Fi likelihood based on tail number and sub-fleet data
AF7 is currently on schedule, departing 18:10. Aircraft is F-GSQJ (777-300ER, newer sub-fleet), Wi-Fi likely available.
Requisitos
- AFKL_API_KEY environment variable or afkl_api_key.txt file
- Air France–KLM developer account at developer.airfranceklm.com
- Subscription to the Flight Status API product on the AFKL developer portal
Instalação
clawhub install iclems/airfrance-afklExecute o comando da CLI ou cole o prompt no Claude Code, Cursor, Codex ou no agente de código que você usa.