🚀 快速安装
复制以下命令并运行,立即安装此 Skill:
npx skills add https://skills.sh/steipete/clawdis/goplaces
💡 提示:需要 Node.js 和 NPM
goplaces
现代化的 Google Places API(新版)命令行工具。默认输出人类可读格式,使用 --json 输出适合脚本处理的格式。
安装 (Install)
- Homebrew:
brew install steipete/tap/goplaces
配置 (Config)
- 需要设置
GOOGLE_PLACES_API_KEY环境变量。 - 可选:
GOOGLE_PLACES_BASE_URL用于测试或代理。
常用命令 (Common commands)
- 搜索:
goplaces search "咖啡" --open-now --min-rating 4 --limit 5 - 位置偏好:
goplaces search "披萨" --lat 40.8 --lng -73.9 --radius-m 3000 - 分页:
goplaces search "披萨" --page-token "NEXT_PAGE_TOKEN" - 地址解析:
goplaces resolve "伦敦苏豪区" --limit 5 - 详情:
goplaces details <地点ID> --reviews - JSON 输出:
goplaces search "寿司" --json
说明 (Notes)
--no-color或设置NO_COLOR环境变量可以禁用 ANSI 颜色输出。- 价格等级: 0..4 (免费 → 非常昂贵)。
- 类型筛选只发送第一个
--type值 (API 只接受一个类型)。
📄 原始文档
完整文档(英文):
https://skills.sh/steipete/clawdis/goplaces
💡 提示:点击上方链接查看 skills.sh 原始英文文档,方便对照翻译。
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。

评论(0)