← 返回
未分类 中文

Variflight Global Flight Fares

Variflight Global Flight Fares searches one-way flight fares from the Variflight ticket API by departure IATA city code, arrival IATA city code, and departur...
Variflight全球航班票价通过出发地IATA城市代码、到达地IATA城市代码和出发日期在Variflight机票API中搜索单程航班票价
arisefx
未分类 clawhub v1.0.0 1 版本 99872.4 Key: 无需
★ 1
Stars
📥 763
下载
💾 0
安装
1
版本
#latest

概述

Variflight Global Flight Fares

Overview

Use the bundled script to query the Variflight ticket API and return one-way flight options for a single route and date.

Workflow

  1. Collect dep, arr, and date.
  2. Validate dep and arr as three-letter IATA city codes and date as YYYY-MM-DD.
  3. If the user gives city names instead of codes, infer only when the mapping is unambiguous; otherwise ask for the IATA codes.
  4. Run python3 scripts/query_flights.py --dep BJS --arr SHA --date 2026-04-21.
  5. Summarize the result with departure airport, arrival airport, times, duration, price, transfer info, and the flight tag text.

Output Rules

  • Treat API code != 0 as a failure and surface the returned msg.
  • Treat an empty data.list as a valid "no flights found" result.
  • Use --limit N when the user only wants a subset of results.
  • Use --json only when the user asks for raw payload data.
  • Mention transfer flights separately from direct flights when summarizing.
  • Do not ask the user to provide an API key for this skill.

Script

  • scripts/query_flights.py accepts:
  • --dep
  • --arr
  • --date
  • --limit
  • --json
  • The script sends the fixed request parameter flightNum=10.

Example

Run python3 scripts/query_flights.py --dep BJS --arr SHA --date 2026-04-21 --limit 5 to fetch the first five displayed results for Beijing to Shanghai on April 21, 2026.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 14:22 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

航班搜索

arisefx
通过出发城市IATA代码、到达城市IATA代码和出发日期,从Variflight机票API搜索单程航班列表。
★ 0 📥 517

Admin UI Prototype

arisefx
在Codex环境下查询项目特定的Arco Design使用模式,生成Vue 3管理页面原型,包含模拟数据、脚手架文件和路由片段。
★ 1 📥 465

机票产品需求评审

arisefx
机票产品需求评审 Agent。对前端、后端、运营类机票需求文档进行结构化评审打分,含独立的流程图治理评审(去If化、卫语句、决策表、FSM、泳道图、分层建模)。输入需求文档(markdown/图片/HTML),输出分项评分、评语和改进建议。
★ 0 📥 427