Install
openclaw skills install variflight-flight-searchSearch one-way flight lists from the Variflight ticket API by departure IATA city code, arrival IATA city code, and departure date.
openclaw skills install variflight-flight-searchUse the bundled script to query the Variflight ticket API and return one-way flight options for a single route and date.
dep, arr, and date.dep and arr as three-letter IATA city codes and date as YYYY-MM-DD.python3 scripts/query_flights.py --dep BJS --arr SHA --date 2026-04-21.code != 0 as a failure and surface the returned msg.data.list as a valid "no flights found" result.--limit N when the user only wants a subset of results.--json only when the user asks for raw payload data.scripts/query_flights.py accepts:
--dep--arr--date--limit--jsonflightNum=10.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.