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/variflightCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.