技能标识:flight-search
Search Google Flights for prices, times, and airlines. No API key required.
从命令行搜索谷歌航班。获取价格、时间和航空公司信息——无需API密钥。
基于 fast-flights 构建。
bash
位置参数:
origin 出发机场代码(例如:DEN、LAX、JFK)
destination 到达机场代码
选项:
--date, -d 出发日期(YYYY-MM-DD)[必填]
--return, -r 往返航班返回日期(YYYY-MM-DD)
--adults, -a 成人数量(默认:1)
--children, -c 儿童数量(默认:0)
--class, -C 座位等级:经济舱、高级经济舱、商务舱、头等舱
--limit, -l 最大结果数(默认:10)
--output, -o 输出格式:text 或 json(默认:text)
bash
✈️ DEN → LAX
单程 · 2026-03-01
当前价格:正常
──────────────────────────────────────────────────
Frontier ⭐ 最佳
🕐 晚上10:43 → 凌晨12:30 +1
⏱️ 2小时47分钟
✅ 直飞
💰 $84
──────────────────────────────────────────────────
United ⭐ 最佳
🕐 下午5:33 → 晚上7:13
⏱️ 2小时40分钟
✅ 直飞
💰 $139
返回结构化数据:
json
{
origin: DEN,
destination: LAX,
date: 2026-03-01,
current_price: 正常,
flights: [
{
airline: Frontier,
departure_time: 晚上10:43,
arrival_time: 凌晨12:30,
duration: 2小时47分钟,
stops: 0,
price: 84,
is_best: true
}
]
}
以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:
帮我安装 SkillHub 和 flight-search-1776280142 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 flight-search-1776280142 技能
skillhub install flight-search-1776280142
文件大小: 14.73 KB | 发布时间: 2026-4-16 17:07