airfrance-afkl
iclems 제작
Transportation요약
Track Air France flights using the Air France–KLM Open Data APIs.
설명
이 스킬이 하는 일
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.
사용 시점
- 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
예시 워크플로
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.
요구 사항
- 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
설치
clawhub install iclems/airfrance-afklCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.