variflight
от lyz1990
Search & ResearchКратко
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
Call the flights endpoint with dep=PEK, arr=SHA, date=2025-03-20
- 2
Parse the response data array for available departures and carriers
- 3
Retrieve pricing via getFlightPriceByCities for the same route and date
- 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 — любой кодинг-агент, которым пользуетесь.