Dataify Bing News
Search Bing News
dataify-server
@dataify-server
What This Skill Does
Executes Bing News searches via the Dataify API by mapping natural-language requests to structured parameters, previewing the full request for user confirmation, and returning raw API output without summarization or reformatting.
Replaces manual construction of Bing News API queries and eliminates the need to parse or reformat search results by returning the raw API response directly.
When to Use It
- Search Bing News for recent articles on a specific topic
- Retrieve news results filtered by market or country code
- Get news results with a specific result count or offset
- Run a Bing News search with safe search filtering enabled
- Preview the full API request parameters before executing a live search
- Fetch news results in JSON format for programmatic consumption
Install
$ openclaw skills install @dataify-server/dataify-bing-newsBing News
Overview
Use 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.
Workflow
- Identify the user's news query and map optional requirements to API fields:
engine: alwaysbing_news. Default comes from the parameter description.q: news search keywords. Default ispizzawhen the user does not specify a query, because the parameter description says the default is pizza.json: output format. Default is1for JSON. Use2only when the user asks for JSON plus HTML. Use3only when the user asks for HTML.mkt: display language and market, such asen-USorzh-CN. No default in the parameter description.cc: two-letter country or region code, such asus,cn,jp, oruk. No default in the parameter description.first: result offset. Default is1because 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, orStrict. No default in the parameter description.no_cache:trueto bypass cache,falseto use cache. Default isfalsebecause the parameter description says false is the default.
- Get defaults only from parameter descriptions. Do not treat YAML body examples or inline examples like
mkt=en-US,cc=us, orcount=10as defaults. - Prefer explicit user-provided field values over inferred values. Add optional fields without defaults only when the user clearly asks for them or provides exact field values.
- Use the bundled Python script with
python3. Pass the whole user request through--promptand add explicit flags for any fields that should override automatic parsing. On Windows, ifpython3is not installed butpythonpoints to Python 3, usepythonfor local execution. - Before every live API call, show the complete request parameter table and ask whether the user wants to modify anything. Do not show
Authorization.- Run
--previewto print a Markdown table with exactly these columns: 参数名, 当前值, 默认值, 说明. - Show the table to the user and ask for confirmation.
- If the user asks to modify values, update the fields and preview the full table again.
- Call the API only after the user confirms the displayed parameters.
- Run
- Ensure authentication before a live call:
- Read
DATAIFY_API_TOKENfrom the current environment. - If the user provides a token during the task, pass it with
--tokenor setDATAIFY_API_TOKENfor the command before invoking the script. - The script adds a
Bearerprefix when the token does not already include one. - If no token is available, ask the user to input a Dataify API token or register at Dataify Dashboard.
- Read
- Preview parameters before calling:
python3 scripts/bing_news.py --prompt "Search Bing news for OpenAI" --preview
- Run a live call only after the user confirms the previewed table:
python3 scripts/bing_news.py --prompt "Search Bing news for OpenAI"
- Return the script output directly to the user. Do not summarize news results, extract fields, reformat JSON, parse embedded JSON strings, or process returned HTML unless the user separately asks for processing.
Script Usage
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=valuefor any supported API field--tokento provide a token for the current run--body-format form|json, defaultform--previewto print the full confirmation table and skip network/auth checks--dry-runto print the parsed payload and skip network/auth checks
Top skills in this category
Multi Search Engine
@gpyangyoujunMulti search engine integration with 16 engines (7 CN + 9 Global). Supports advanced search operators, time filters, site search, privacy engines, and Wolfra...
Agent Browser
@matrixyHeadless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection
Openai Whisper
@steipeteLocal speech-to-text with the Whisper CLI (no API key).
Tavily 搜索
@jacky1n7Web search via Tavily API (alternative to Brave). Use when the user asks to search the web / look up sources / find links and Brave web_search is unavailable...
Baidu web search
@ide-reaSearch the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.