Install
openclaw skills install dataify-google-localWhen the user requests "call Google Local" or "local search/nearby search/place search", or explicitly mentions the local search field, the dataify-google-local skill is triggered.
openclaw skills install dataify-google-localUse this skill to turn a user's Google Local 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.
engine to the fixed value google_local.python3 scripts/google_local.py ... --preview-params --preview-format markdown after parsing the request and pasting that Markdown table into the chat.确认, 可以, 继续, 调用, yes, or go.DATAIFY_API_TOKEN.engine: "google_local", json: "1", google_domain: "google.com", and no_cache: "false". Omit optional fields that the user did not request and that have no documented default.python3 scripts/google_local.py --q "coffee shops" --location "New York" --gl us --hl en
For many fields, pass one JSON object with shell-appropriate quoting:
python3 scripts/google_local.py --params-json '{"q":"coffee shops","location":"New York","gl":"us","hl":"en"}'
PowerShell may need the quotes escaped:
python3 scripts/google_local.py --params-json '{\"q\":\"coffee shops\",\"location\":\"New York\",\"gl\":\"us\",\"hl\":\"en\"}'
To let the script parse a natural-language request:
python3 scripts/google_local.py --request "搜索纽约咖啡店,语言英文,地区美国,不走缓存"
If the user provided a token in the conversation, pass it with --token and avoid echoing it back:
python3 scripts/google_local.py --token "USER_TOKEN" --q "coffee shops" --location "New York"
When using this skill, show this concise parameter list before making the API call, or run python3 scripts/google_local.py --describe-params and relay that output:
| Field | Required | Default | Description |
|---|---|---|---|
Authorization | yes | none | Dataify API token in the request header. If the token does not start with Bearer , the script adds it. |
engine | yes | google_local | Fixed engine value for Google Local. |
q | yes | none | Search query content. |
json | yes | 1 | Output format. 1 = JSON, 2 = JSON+HTML, 3 = HTML, 4 = Light JSON. |
google_domain | no | google.com | Google domain to use. |
gl | no | none | Two-letter Google country/region code, such as us, uk, or fr. |
hl | no | none | Google interface/search language code, such as en, es, or fr. |
location | no | none | Geographic location where the search originates. |
uule | no | none | Google encoded location. Do not use with location; prefer explicit uule if both are present. |
start | no | none | Result offset for pagination. |
ludocid | no | none | Google place CID/customer identifier. |
tbs | no | none | Advanced search parameter not represented by the regular query field. |
no_cache | no | false | true bypasses cache; false uses cached results when available. |
For an actual request, show a complete preview instead of only the assigned request payload:
python3 scripts/google_local.py --q "coffee shops" --location "New York" --preview-params --preview-format markdown
The preview output must include unset fields such as gl, hl, uule, start, ludocid, and tbs when the user did not provide them.
After pasting the preview table, ask: 请确认是否按以上参数调用接口,或告诉我要修改哪些字段。
Use references/google_local_api.md when exact parameter wording is needed.
Core rules:
Content-Type: application/x-www-form-urlencoded.engine to google_local.q cannot be inferred.location and uule are present, prefer the explicit uule and omit location.Bearer is accepted and prefixed automatically.Common mappings:
json: "1"json: "2"json: "3"json: "4"glhllocationuulestart: String((N - 1) * 10)ludocidtbsno_cache: "true"