跳到正文
TakoAPI
返回技能列表

variflight

由 lyz1990 提供

Search & Research
843下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Query flight information, train tickets, and travel data using Variflight (飞常准) HTTP API.

描述

该技能的功能

Connects AI assistants to the Variflight (飞常准) HTTP API for querying flight and train data across Chinese routes. Covers flight search, real-time status, pricing, airport weather, and train tickets. Supports multi-modal trip planning combining flights and rail.

Combines flight status, pricing, train tickets, and airport weather into a single API integration instead of querying separate services for each data type.

何时使用

  • Check if a Beijing to Shanghai flight is on time before leaving for the airport
  • Find cheapest flight prices between two Chinese cities on a given date
  • Search train tickets from Shanghai to Hefei as a flight alternative
  • Get weather forecast for an airport before a connecting flight
  • Look up a specific flight number's comfort and happiness index

示例工作流

输入

User asks: What flights are available from Beijing Capital to Shanghai Hongqiao on March 20?

智能体
  1. 1

    Call the flights endpoint with dep=PEK, arr=SHA, date=2025-03-20

  2. 2

    Parse the response data array for available departures and carriers

  3. 3

    Retrieve pricing via getFlightPriceByCities for the same route and date

  4. 4

    Return a formatted list of flights with times, carriers, and prices

输出

A list of available flights with departure times, airlines, and current fare estimates

前置要求

  • VARIFLIGHT_API_KEY from https://ai.variflight.com

安装

clawhub install lyz1990/variflight

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接