Dataify Bing Maps
/install dataify-bing-maps
Bing Maps
Overview
Use this skill to convert a natural-language Bing Maps request into Dataify Bing Maps API fields, call the fixed Dataify endpoint through scripts/bing_maps.py, and return the API response directly to the user without summarizing, parsing, or post-processing it.
The source API document is summarized in references/api.md. Read it when field behavior or response shape is unclear.
Workflow
- Identify the user's map/place query and map optional requirements to API fields:
q: Bing Maps 搜索关键词。必填。json: 输出格式。用户未指定输出格式时默认使用1;2表示 JSON+HTML,3表示 HTML。cp: 查询中心点 GPS 坐标,格式为纬度~经度。仅当用户提供坐标时传入。setlang: 两位语言/地区值,例如us、de、gb。仅当用户要求语言/地区时传入。place_id: Bing Maps 地点唯一引用。仅当用户提供地点 ID 时传入。first: 本地结果偏移量。参数说明写明默认值为0,因此用户未指定时使用0。count: 每页建议返回结果数量。最大值为30,但最大值不是默认值。仅当用户要求结果数量时传入。no_cache:true表示跳过缓存,false表示使用缓存。参数说明写明默认值为false,因此用户未指定时使用false。
- Prefer explicit user-provided field values over inferred values.
- Use defaults from the parameter descriptions when the user does not specify a value:
engine:bing_mapsjson:1first:0no_cache:false- No defaults for
q,cp,setlang,place_id, orcount.
- Never treat documentation examples as defaults. Do not add sample values such as coordinates,
setlang=us, orcount=30unless the user explicitly requested that field. - Before every live API call, show the user a Markdown table containing the complete field list, excluding
Authorization. The table must have only these columns:参数名,当前值,默认值,说明. The说明column must be Chinese. Ask whether the user wants to modify anything. Do not call the API until the user confirms. - Use the bundled Python script with
python3. Pass the whole user request through--promptand add explicit flags only when overriding automatic parsing. - 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, the script exits with a Chinese prompt; ask the user to input a Dataify API token or register at Dataify Dashboard.
- Read
- Generate the confirmation table before a live call:
python3 scripts/bing_maps.py --prompt "JiangSu" --params-table
- Run a dry run when you need machine-readable parsing output without calling the API:
python3 scripts/bing_maps.py --prompt "JiangSu" --dry-run
Expected dry-run payload:
{
"engine": "bing_maps",
"q": "JiangSu",
"json": "1",
"first": "0",
"no_cache": "false"
}
- Run a live call only after token is available and the user confirms the parameter table. Add
--confirmed; the script refuses live calls without it:
python3 scripts/bing_maps.py --prompt "JiangSu" --confirmed
- Return the script output directly to the user. Do not summarize map 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_maps.py \
--prompt "搜索JiangSu,并返回 JSON 和 HTML" \
--json 2
Useful flags:
--q,--json,--cp,--lat,--lon,--setlang,--place-id,--first,--count,--no-cache--field key=valuefor any supported API field--tokento provide a token for the current run--body-format form|json, defaultform--params-tableto print the required pre-call Markdown parameter table and skip network/auth checks--dry-runto print the parsed payload and skip network/auth checks--confirmedto allow a live API call after the user confirms the parameter table
If a live call fails because DATAIFY_API_TOKEN is missing, ask the user to provide a token or register at Dataify Dashboard.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install dataify-bing-maps - After installation, invoke the skill by name or use
/dataify-bing-maps - Provide required inputs per the skill's parameter spec and get structured output
What is Dataify Bing Maps?
When the user uses Bing Maps to search for locations or view maps, this skill is executed. It is an AI Agent Skill for Claude Code / OpenClaw, with 40 downloads so far.
How do I install Dataify Bing Maps?
Run "/install dataify-bing-maps" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Dataify Bing Maps free?
Yes, Dataify Bing Maps is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Dataify Bing Maps support?
Dataify Bing Maps is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Dataify Bing Maps?
It is built and maintained by dataify-server (@dataify-server); the current version is v1.0.0.