Install
openclaw skills install dataify-bing-newsUse when a user to run a Bing news search
openclaw skills install dataify-bing-newsUse this skill to turn a natural-language Bing News request into Dataify Bing News API fields, preview the full request body fields for user confirmation, call the API through scripts/bing_news.py only after confirmation, and return the API response directly to the user without summarizing, parsing, reformatting, or post-processing it.
The source API document is summarized in references/api.md. Read it when field behavior, allowed values, or response shape is unclear.
engine: always bing_news. Default comes from the parameter description.q: news search keywords. Default is pizza when the user does not specify a query, because the parameter description says the default is pizza.json: output format. Default is 1 for JSON. Use 2 only when the user asks for JSON plus HTML. Use 3 only when the user asks for HTML.mkt: display language and market, such as en-US or zh-CN. No default in the parameter description.cc: two-letter country or region code, such as us, cn, jp, or uk. No default in the parameter description.first: result offset. Default is 1 because the parameter description says the default is 1.count: requested result count. No default in the parameter description.qft: Bing query filter string for date sorting/filtering. No default in the parameter description.safeSearch: Off, Moderate, or Strict. No default in the parameter description.no_cache: true to bypass cache, false to use cache. Default is false because the parameter description says false is the default.mkt=en-US, cc=us, or count=10 as defaults.python3. Pass the whole user request through --prompt and add explicit flags for any fields that should override automatic parsing. On Windows, if python3 is not installed but python points to Python 3, use python for local execution.Authorization.
--preview to print a Markdown table with exactly these columns: 参数名, 当前值, 默认值, 说明.DATAIFY_API_TOKEN from the current environment.--token or set DATAIFY_API_TOKEN for the command before invoking the script.Bearer prefix when the token does not already include one.python3 scripts/bing_news.py --prompt "Search Bing news for OpenAI" --preview
python3 scripts/bing_news.py --prompt "Search Bing news for OpenAI"
The script supports automatic parsing plus explicit overrides:
python3 scripts/bing_news.py \
--prompt "用必应新闻搜索 OpenAI"
Useful flags:
--q, --json, --mkt, --cc, --first, --count, --qft, --safeSearch, --no-cache--field key=value for any supported API field--token to provide a token for the current run--body-format form|json, default form--preview to print the full confirmation table and skip network/auth checks--dry-run to print the parsed payload and skip network/auth checks