variflight
oleh lyz1990
Search & ResearchRingkasan
Query flight information, train tickets, and travel data using Variflight (飞常准) HTTP API.
Deskripsi
Apa yang Dilakukan Skill Ini
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.
Kapan Menggunakannya
- 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
Contoh Alur Kerja
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
Persyaratan
- VARIFLIGHT_API_KEY from https://ai.variflight.com
Instalasi
clawhub install lyz1990/variflightJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.