Install
openclaw skills install @dataify-server/dataify-google-mapsopenclaw skills install @dataify-server/dataify-google-mapsUse this skill for explicit Google Maps searches that need map coordinates, zoom, or map pagination. Use Google Local for local-pack keyword lists, Map Details for a known Place ID, and Maps Reviews for reviews.
Use this skill for explicit Google Maps searches that need map coordinates, zoom, or map pagination. Use Google Local for local-pack keyword lists, Map Details for a known Place ID, and Maps Reviews for reviews.
Use this skill for explicit Google Maps searches that need map coordinates, zoom, or map pagination. Use Google Local for local-pack keyword lists, Map Details for a known Place ID, and Maps Reviews for reviews.
Use this skill for explicit Google Maps searches that need map coordinates, zoom, or map pagination. Use Google Local for local-pack keyword lists, Map Details for a known Place ID, and Maps Reviews for reviews.
Use this skill for explicit Google Maps searches that need map coordinates, zoom, or map pagination. Use Google Local for local-pack keyword lists, Map Details for a known Place ID, and Maps Reviews for reviews.
Use this skill for explicit Google Maps searches that need map coordinates, zoom, or map pagination. Use Google Local for local-pack keyword lists, Map Details for a known Place ID, and Maps Reviews for reviews.
Use this skill for explicit Google Maps searches that need map coordinates, zoom, or map pagination. Use Google Local for local-pack keyword lists, Map Details for a known Place ID, and Maps Reviews for reviews.
Use this skill for explicit Google Maps searches that need map coordinates, zoom, or map pagination. Use Google Local for local-pack keyword lists, Map Details for a known Place ID, and Maps Reviews for reviews.
Use this skill for explicit Google Maps searches that need map coordinates, zoom, or map pagination. Use Google Local for local-pack keyword lists, Map Details for a known Place ID, and Maps Reviews for reviews.
Use this skill for explicit Google Maps searches that need map coordinates, zoom, or map pagination. Use Google Local for local-pack keyword lists, Map Details for a known Place ID, and Maps Reviews for reviews.
Use this skill for explicit Google Maps searches that need map coordinates, zoom, or map pagination. Use Google Local for local-pack keyword lists, Map Details for a known Place ID, and Maps Reviews for reviews.
Use this skill for explicit Google Maps searches that need map coordinates, zoom, or map pagination. Use Google Local for local-pack keyword lists, Map Details for a known Place ID, and Maps Reviews for reviews.
Use this skill to turn a user's Google Maps request into a Dataify Scraper API form submission.
Parse the user's request into Google Maps fields. Set engine to the fixed value google_maps.
Apply documented defaults from parameter descriptions when the user does not specify a value. For this API, documented defaults are:
engine: google_mapsjson: 1google_domain: google.comstart: 0no_cache: falseTreat every other field as having no default unless the user supplies it. Never treat examples such as United States, en, us, @40.7455096,-74.0083012,14z, or true as defaults.
Use this exact table shape, including every body field:
请确认是否要修改参数;你确认后我再调用接口。
| 参数名 | 当前值 | 默认值 | 说明 |
|---|---|---|---|
| `engine` | `google_maps` | `google_maps` | 固定引擎值。 |
| `q` | `<从用户需求解析出的值;无值则询问>` | 无 | Google Maps 搜索关键词。 |
| `json` | `<用户指定值或 1>` | `1` | 返回格式:1=JSON,2=JSON+HTML,3=HTML,4=Light JSON。 |
| `ll` | `<用户指定值或空>` | 无 | 完整地图坐标起点,格式为 `@纬度,经度,缩放z` 或 `@纬度,经度,高度m`。不能和 `location`、`lat`、`lon`、`z`、`m` 同用。 |
| `location` | `<用户指定值或空>` | 无 | 文字地点起点;需配合 `z` 或 `m`。不能和 `ll`、`lat`、`lon` 同用。 |
| `lat` | `<用户指定值或空>` | 无 | 搜索起点纬度;必须和 `lon` 成对使用,并配合 `z` 或 `m`。 |
| `lon` | `<用户指定值或空>` | 无 | 搜索起点经度;必须和 `lat` 成对使用,并配合 `z` 或 `m`。 |
| `z` | `<用户指定值或空>` | 无 | 地图缩放级别;不能和 `m` 同用。 |
| `m` | `<用户指定值或空>` | 无 | 地图高度,单位米;不能和 `z` 同用。 |
| `nearby` | `<用户指定值或空>` | 无 | 是否强制返回更接近指定起点的结果;应与 `ll`、`location` 或 `lat`/`lon` 一起使用。 |
| `google_domain` | `<用户指定值或 google.com>` | `google.com` | Google 域名。 |
| `hl` | `<用户指定值或空>` | 无 | Google Maps 搜索语言代码。 |
| `gl` | `<用户指定值或空>` | 无 | Google Maps 搜索国家/地区代码。 |
| `start` | `<用户指定值或 0>` | `0` | 分页偏移量。 |
| `type` | `<用户指定值或空>` | 无 | 搜索类型:`search` 或 `place`。 |
| `data` | `<用户指定值或空>` | 无 | 已废弃的结果过滤参数,优先使用 `place_id` 或 `data_cid`。 |
| `place_id` | `<用户指定值或空>` | 无 | Google Maps 地点唯一 ID。 |
| `data_cid` | `<用户指定值或空>` | 无 | Google Maps CID,不能和 `place_id` 同用。 |
| `no_cache` | `<用户指定值或 false>` | `false` | 是否跳过缓存;`true` 跳过缓存,`false` 使用缓存。 |
DATAIFY_API_TOKEN.python3. Run it from this skill directory, or use the absolute path to scripts/google_maps.py.python3 scripts/google_maps.py --q "coffee shops near Seattle" --json 1
For many fields, pass one JSON object with shell-appropriate quoting. The script will still submit form data to the API:
python3 scripts/google_maps.py --params-json '{"q":"coffee shops","json":"1","location":"Seattle","z":"14","gl":"us","hl":"en"}'
For natural-language parsing fallback, pass the user's request to --request:
python3 scripts/google_maps.py --request "搜索 Seattle 的咖啡店,返回 JSON,gl=us,hl=en"
Use references/google_maps_api.md when you need the exact field list, defaults, constraints, or examples.
Core rules:
Content-Type: application/x-www-form-urlencoded.engine to google_maps.q or a required paired parameter cannot be inferred.ll by itself for a full Google Maps coordinate string such as @lat,lon,14z or @lat,lon,10410m; do not combine it with location, lat, lon, z, or m.lat and lon together. If only one is available, ask for the missing coordinate.z or m, not both. When using location or lat/lon, include one of z or m if the user supplied a search origin.nearby only with ll, location, or lat/lon. For "near me" requests without a location anchor, ask the user for a Maps origin.place_id and data_cid together.place_id or data_cid over the deprecated data field.Bearer is accepted and prefixed automatically.Common mappings:
json: "1"json: "2"json: "3"json: "4"google_domainglhlstart: String((N - 1) * 20)lllocationlat and lonzmnearby: "true"type: "search"type: "place" when using data; omit type when using place_id or data_cid unless the user explicitly requests itplace_iddata_cidno_cache: "true"python3 scripts/google_maps.py --q "coffee shops near Seattle" --json 1
export for macOS/Linux shells, $env: for Windows PowerShell, or set for Windows Command Prompt). Show other platforms or persistent setup only when detection is ambiguous or the user asks.DATAIFY_API_TOKEN is present; never print its value. If verification succeeds, continue the original task without asking the user to repeat it..env unless the execution path explicitly loads it, and ensure .env is ignored by version control.