Install
openclaw skills install dataify-google-flightsWhen the user requests "calling Google Flights" or "searching for flight prices/itineraries", or explicitly mentions the flight query field, the dataify-google-flights skill is triggered.
openclaw skills install dataify-google-flightsUse this skill to turn a user's Google Flights request into a Dataify Scraper API form POST.
Before every real API call, follow this confirmation flow. These rules override any older workflow order in this skill.
engine value.pizza, us, en, dates, airport codes, or tokens as defaults.Authorization. Include the complete body field list from this skill's reference document, including engine, even when a field is currently blank.参数名, 当前值, 默认值, 说明.DATAIFY_API_TOKEN.Use the bundled preview helper whenever possible to generate the confirmation table from this skill's reference document:
python3 scripts/preview_params.py --params-json '{"q":"USER_QUERY"}'
Pass every parsed current value to preview_params.py using --params-json or matching --field value arguments. The helper reads defaults and descriptions from references/*api.md; if the helper cannot parse a default, leave the default blank rather than inventing one.
9. After confirmation and token handling, call the bundled Python script with python3 and return the API response body directly without summarizing, extracting, cleaning, translating, or reshaping it.
references/google_flights_api.md for the full field list, accepted values, defaults, and conditional requirements.Authorization.参数名, 当前值, 默认值, 说明.DATAIFY_API_TOKEN.python3. Run it from this skill directory, or use the absolute path to scripts/google_flights.py.python3 scripts/google_flights.py --params-json '{"departure_id":"JFK","arrival_id":"LAX","type":"2","outbound_date":"2026-06-01","currency":"USD","gl":"us","hl":"en"}' --dry-run --dry-run-format markdown
If the user confirms and provided a token in the conversation instead of an environment variable, pass it with --token and never echo it back:
python3 scripts/google_flights.py --token "USER_TOKEN" --params-json '{"departure_id":"JFK","arrival_id":"LAX","type":"2","outbound_date":"2026-06-01"}'
Content-Type: application/x-www-form-urlencoded.engine to google_flights.json: "1" unless the user asks for another output format.YYYY-MM-DD.Bearer is accepted and prefixed automatically.Common mappings:
json: "1"json: "2"json: "3"json: "4"type: "2"type: "1"type: "3" and multi_city_jsontravel_class: "1", "2", "3", "4"sort_by: "1", "2", "3", "4", "5", "6"stops: "0", "1", "2", "3"no_cache: "true"deep_search: "true"