← 返回 Skills 市场
phheng

Google Maps Reviews Api Skill

作者 Henk Nie · GitHub ↗ · v0.1.2 · MIT-0
cross-platform ✓ 安全检测通过
1334
总下载
2
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install google-maps-reviews-api-skill
功能描述
This skill is designed to help users automatically extract reviews from Google Maps via the Google Maps Reviews API. Agent should proactively apply this skil...
使用说明 (SKILL.md)

Google Maps Reviews Automation Skill

📖 Introduction

This skill provides a one-stop review collection service using BrowserAct's Google Maps Reviews API template. It can extract structured review data directly from Google Maps search results. Simply provide the search keywords, language, and country to get clean, usable review data.

✨ Features

  1. No Hallucinations: Pre-set workflows avoid AI generative hallucinations, ensuring stable and precise data extraction.
  2. No Captcha Issues: No need to handle reCAPTCHA or other verification challenges.
  3. No IP Restrictions: No need to handle regional IP restrictions or geofencing.
  4. Faster Execution: Tasks execute faster compared to pure AI-driven browser automation solutions.
  5. Cost-Effective: Significantly lowers data acquisition costs compared to high-token-consuming AI solutions.

🔑 API Key Setup

Before running, check the BROWSERACT_API_KEY environment variable. If not set, do not take other measures; ask and wait for the user to provide it. Agent must inform the user:

"Since you haven't configured the BrowserAct API Key, please visit the BrowserAct Console to get your Key."

🛠️ Input Parameters

The Agent should flexibly configure the following parameters when calling the script:

  1. KeyWords (Search Keywords)

    • Type: string
    • Description: The query used to find places on Google Maps (e.g., business names, categories).
    • Example: coffee shop, dental clinic, Tesla showroom
  2. language (Language)

    • Type: string
    • Description: Sets the UI language and the language of the returned text.
    • Supported values: en, zh-CN, es, fr, etc.
    • Default: en
  3. country (Country)

    • Type: string
    • Description: Country or region bias for search results.
    • Supported values: us, gb, ca, au, jp, etc.
    • Default: us

🚀 Usage

Agent should use the following independent script to achieve "one-line command result":

# Example call
python -u ./scripts/google_maps_reviews_api.py "Keywords" "Language" "Country"

⏳ Execution Monitoring

Since this task involves automated browser operations, it may take some time (several minutes). The script will continuously output status logs with timestamps (e.g., [14:30:05] Task Status: running). Agent Instructions:

  • While waiting for the script result, keep monitoring the terminal output.
  • As long as the terminal is outputting new status logs, the task is running normally; do not mistake it for a deadlock or unresponsiveness.
  • Only if the status remains unchanged for a long time or the script stops outputting without returning a result should you consider triggering the retry mechanism.

📊 Data Output

After successful execution, the script parses and prints results from the API response:

  • author_name: Display name of the reviewer
  • author_profile_url: Profile URL of the reviewer
  • rating: Star rating
  • text: Review text content
  • comment_date: Human-readable date
  • likes_count: Number of likes
  • author_image_url: Reviewer's avatar URL

⚠️ Error Handling & Retry

If an error occurs during script execution (e.g., network fluctuations or task failure), the Agent should follow this logic:

  1. Check Output Content:

    • If the output contains "Invalid authorization", it means the API Key is invalid or expired. Do not retry; guide the user to re-check and provide the correct API Key.
    • If the output does not contain "Invalid authorization" but the task failed (e.g., output starts with Error: or returns empty results), the Agent should automatically try to re-execute the script once.
  2. Retry Limit:

    • Automatic retry is limited to one time. If the second attempt fails, stop retrying and report the specific error information to the user.

🌟 Typical Use Cases

  1. Local Business Analysis: Find reviews for cafes or clinics in a specific area.
  2. Reputation Monitoring: Track feedback for a specific brand location.
  3. Competitive Benchmarking: Analyze reviews of competitor stores.
  4. Sentiment Analysis: Gather review text for emotion and topic modeling.
  5. Market Research: Evaluate service quality across different regions.
  6. Lead Qualification: Use review data to identify high-quality service providers.
  7. Customer Insight: Understand recurring complaints or praises.
  8. Venue Research: Collect testimonials for parks, museums, or attractions.
  9. Retail Monitoring: Gather feedback for newly opened stores.
  10. Service Quality Audit: Analyze ratings and comments for a specific service chain.
安全使用建议
The package appears coherent, but before installing consider: 1) This skill relies on a third-party service (BrowserAct). Only provide your BROWSERACT_API_KEY if you trust that service and understand its pricing and privacy terms. 2) Confirm using BrowserAct to scrape or query Google Maps complies with Google’s terms of service and your legal/privacy requirements. 3) Ensure the runtime has Python and the 'requests' package installed (the skill doesn't declare Python deps). 4) If you prefer tighter control, disable autonomous invocation for the agent or require user confirmation before the skill runs. If you need more assurance, ask the author for a dependency list and for confirmation of what the BrowserAct template does with returned data.
功能分析
Type: OpenClaw Skill Name: google-maps-reviews-api-skill Version: 0.1.2 The skill is a legitimate integration for extracting Google Maps reviews using the BrowserAct API. The Python script (google_maps_reviews_api.py) correctly handles API authentication via environment variables, performs status polling, and retrieves results from the official domain (api.browseract.com) without any signs of data exfiltration, obfuscation, or malicious intent.
能力评估
Purpose & Capability
The skill claims to extract Google Maps reviews and its script calls BrowserAct's workflow API (api.browseract.com) with a hard-coded template ID. Requiring a BrowserAct API key is coherent with using that third-party service. No unrelated cloud credentials, system paths, or unrelated binaries are requested.
Instruction Scope
SKILL.md and the script limit actions to: check BROWSERACT_API_KEY, start a BrowserAct workflow, poll for status, and print results. The instructions do not request reading other files, accessing unrelated environment variables, or exfiltrating data to unexpected endpoints. The SKILL.md explicitly tells the agent to ask the user for the API key rather than searching for it.
Install Mechanism
This is instruction-only with an included Python script (no install spec), so nothing arbitrary is downloaded or installed by the skill. One practical omission: the script uses the 'requests' library but the skill does not declare Python package dependencies or provide an install step; the environment must already have requests available or the script will fail. This is an operational issue, not an incoherence or direct security risk.
Credentials
Only BROWSERACT_API_KEY is required, which matches the use of the BrowserAct API. No other SECRET/TOKEN/PASSWORD env vars are requested. The script respects the presence/absence of the key and instructs the agent to request it from the user instead of attempting credential discovery.
Persistence & Privilege
always:false and normal autonomous invocation are set. The skill does not attempt to modify agent-wide configuration or persist other credentials. There is no evidence it requests elevated or permanent privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install google-maps-reviews-api-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /google-maps-reviews-api-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.2
### google-maps-reviews-api-skill v0.1.2 - Added the main review extraction script: `scripts/google_maps_reviews_api.py` - This addition enables automated extraction of reviews from Google Maps via the API.
v0.1.1
- Major update: Simplified documentation and changed invocation details. - SKILL.md content was streamlined, with clarified instructions on usage, input parameters, and error handling. - The invocation path for the script was updated to ./scripts/google_maps_reviews_api.py. - Redundant details and repetitive sections were removed for clarity. - The actual script (scripts/google_maps_reviews_api.py) was deleted.
v0.1.0
Initial release of google-maps-reviews-api-skill. - Enables automated extraction of Google Maps reviews via BrowserAct's API. - Supports filtering by search keywords, language, and country. - Provides structured output including reviewer info, ratings, review text, and more. - Proactively handles API key access: prompts user to supply their BrowserAct API key if not configured. - Incorporates retry and error handling for API failures and authorization issues. - Typical uses: business review collection, sentiment analysis, market research, and brand reputation monitoring.
元数据
Slug google-maps-reviews-api-skill
版本 0.1.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Google Maps Reviews Api Skill 是什么?

This skill is designed to help users automatically extract reviews from Google Maps via the Google Maps Reviews API. Agent should proactively apply this skil... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1334 次。

如何安装 Google Maps Reviews Api Skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install google-maps-reviews-api-skill」即可一键安装,无需额外配置。

Google Maps Reviews Api Skill 是免费的吗?

是的,Google Maps Reviews Api Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Google Maps Reviews Api Skill 支持哪些平台?

Google Maps Reviews Api Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Google Maps Reviews Api Skill?

由 Henk Nie(@phheng)开发并维护,当前版本 v0.1.2。

💬 留言讨论