返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
g

google-maps-search-api

This skill is designed to help users automatically extract business data from Google Maps search results. When a user asks to "find coffee shops in New York," "search for dental clinics," or "extract business leads from Google Maps," the agent should proactively apply this skill.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
1,950
下载量
1
收藏
概述
安装方式
版本历史

google-maps-search-api

# Google Maps Search Automation Skill ## ✨ Platform Compatibility **✅ Works Powerfully & Reliably On All Major AI Assistants** | Platform | Status | How to Install | |----------|--------|----------------| | **OpenCode** | ✅ Fully Supported | Copy skill folder to `~/.opencode/skills/` | | **Claude Code** | ✅ Fully Supported | Native skill support | | **Cursor** | ✅ Fully Supported | Copy to `~/.cursor/skills/` | | **OpenClaw** | ✅ Fully Supported | Compatible | **Why Choose BrowserAct Skills?** - 🚀 Stable & crash-free execution - ⚡ Fast response times - 🔧 No configuration headaches - 📦 Plug & play installation - 💬 Professional support ## 📖 Introduction This skill provides a one-stop business data collection service through the BrowserAct Google Maps Search API template. Obtain structured business data with just one command. ## 🔑 API Key Guidance Before running, check the `BROWSERACT_API_KEY` environment variable. If it is not set, do not take further action; instead, request and wait for the user to provide it. **The Agent must inform the user**: > "Since you haven't configured the BrowserAct API Key, please go to the [BrowserAct Console](https://www.browseract.com/reception/integrations) to get your Key and provide it to me in this chat." ## 🛠️ Input Parameters Details The Agent should flexibly configure the following parameters when calling the script based on user needs: 1. **KeyWords (Search Keywords)** - **Type**: `string` - **Description**: The keywords the user wants to search for on Google Maps. - **Example**: `coffee`, `bakery`, `coworking space` 2. **language (UI Language)** - **Type**: `string` - **Description**: Sets the UI language and the language of the returned text. - **Optional Values**: `en`, `de`, `fr`, `it`, `es`, `ja`, `zh-CN`, `zh-TW` - **Default**: `en` 3. **country (Country/Region Bias)** - **Type**: `string` - **Description**: Sets the country or region bias for search results. - **Example**: `us`, `gb`, `ca`, `au`, `de`, `fr`, `es`, `it`, `jp` - **Default**: `us` 4. **max_dates (Maximum extraction limit)** - **Type**: `number` - **Description**: The maximum number of places to extract from search results. - **Default**: `100` ## 🚀 Execution Method (Recommended) The Agent should implement "one command for results" by executing the following independent script: ```bash # Call example python ./scripts/google_maps_search_api.py "KeyWords" "language" "country" max_dates ``` ## 📊 Data Output Description After successful execution, the script will directly parse and print the results from the API response. Results include: - `name`: Business name - `full address`: Business address - `rating`: Average star rating - `review count`: Number of reviews - `price range`: Price level - `cuisine type`: Business category - `amenity tags`: Features like Wi-Fi, outdoor seating - `review snippet`: Highlighted short review - `service options`: Such as "Order online", "Dine-in" ## ⚠️ Error Handling & Retry During script execution, if an error occurs (such as network fluctuations or task failure), the Agent should follow this logic: 1. **Check output content**: - If the output **contains** `"Invalid authorization"`, the API Key is invalid or expired. **Do not retry**; instead, guide the user to check and provide the correct API Key. - If the output **does not contain** `"Invalid authorization"` but the task execution fails (e.g., output starts with `Error:` or returns an empty result), the Agent should **automatically attempt to re-execute** the script once. 2. **Retry Limit**: - Automatic retry is limited to **once**. If the second attempt still fails, stop retrying and report the specific error message to the user.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 google-maps-search-api-1776350727 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 google-maps-search-api-1776350727 技能

通过命令行安装

skillhub install google-maps-search-api-1776350727

下载 Zip 包

⬇ 下载 google-maps-search-api v0.1.0

文件大小: 4.03 KB | 发布时间: 2026-4-17 14:15

v0.1.0 最新 2026-4-17 14:15
Initial release: Enables automated extraction of business data from Google Maps search results using the BrowserAct API.

- Supports searches by keyword, language, country, and result count.
- Notifies users if a required API key is missing, expired, or invalid, and instructs on where to obtain/provide it.
- Returns structured business details (name, address, rating, etc.) from Google Maps.
- Includes auto-retry logic for failed tasks (excluding authorization errors), limited to one additional attempt.
- Compatible with OpenCode, Claude Code, Cursor, and OpenClaw AI assistant platforms.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部