← 返回
AI智能 Key 中文

Flight Tracker

Track flights in real-time with detailed status, gate info, delays, and live position. Use when user asks to track a flight, check flight status, look up flight information by flight number (e.g., "track AA100", "what's the status of United 2402", "check my flight BA123"), or wants to display flight data in a formatted view similar to Flighty app.
实时追踪航班,提供详细状态、登机口、延误及实时位置。当用户要求追踪航班、查询航班状态、通过航班号查询信息(如“追踪 AA100”、“UA2402 状态”)或查看类似 Flighty 的航班数据时使用。
copey02
AI智能 clawhub v1.0.0 1 版本 99840.6 Key: 需要
★ 0
Stars
📥 2,506
下载
💾 2
安装
1
版本
#latest

概述

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):

  1. Get a free API key at https://aviationstack.com/signup/free (100 requests/month)
  2. Set environment variable:

```bash

export AVIATIONSTACK_API_KEY='your-key-here'

```

  1. Install dependencies:

```bash

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)

Status indicators:

  • 🟢 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:

  1. Extract the flight number from the request
  2. Run the tracking script with the flight number
  3. Present the formatted output to the user
  4. If data is needed for further processing, use --json flag

Flight 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)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 15:30 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 418 📥 115,215
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,358 📥 318,365
ai-intelligence

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 836 📥 213,131