copey-flight-tracker
Track flights in real-time with detailed status, gate info, delays.
Installation
npx clawhub@latest install copey-flight-trackerView the full skill documentation and source below.
Documentation
Flight Tracker
Track any flight worldwide using AviationStack API and display in a clean, Flighty-style format.
Quick Start
Track a flight by its IATA code:
scripts/track_flight.py AA100
scripts/track_flight.py UA2402
scripts/track_flight.py BA123
First-Time Setup
Before using this skill, you need an API key (one-time setup):
export AVIATIONSTACK_API_KEY='your-key-here'pip3 install requests
For detailed setup instructions, see api-setup.md.
Output Format
The skill displays flight information in a clean, readable format with:
- βοΈ Airline and flight number
- π©οΈ Aircraft type and registration
- π« Departure airport, terminal, gate, times
- π¬ Arrival airport, terminal, gate, times
- π Flight status with visual indicators
- β±οΈ Delay calculations (if applicable)
- π Live position, altitude, speed (when airborne)
- π’ Active/Airborne/En-route
- β Landed/Arrived
- π‘ Scheduled
- π Delayed
- π΄ Cancelled
Advanced Usage
Get raw JSON data:
scripts/track_flight.py AA100 --json
Check help:
scripts/track_flight.py --help
Workflow
When a user asks to track a flight:
--json flagFlight Number Formats
Accept IATA flight codes:
- AA100 (American Airlines)
- UA2402 (United)
- BA123 (British Airways)
- DL456 (Delta)
The script automatically converts to uppercase and handles the lookup.
Error Handling
The script handles common errors:
- Missing API key β Shows setup instructions
- Flight not found β Suggests verification
- API errors β Displays error message
- Rate limit exceeded β Indicates limit reached
API Limits
Free tier: 100 requests/month. Track usage to stay within limits. For heavy usage, consider upgrading or alternative APIs (see references/api-setup.md).
Notes
- Uses AviationStack free tier (no HTTPS on free plan)
- Real-time data updated frequently
- Historical flight data available
- Worldwide coverage (250+ countries, 13,000+ airlines)