SKILL.md
readonly

goplaces

作者:openclaw
分类:
集成
330.8k
64.4k
name: goplaces
description: Query Google Places API (New) via the goplaces CLI for text search, place details, resolve, and reviews. Use for human-friendly place lookup or JSON output for scripts.
homepage: https://github.com/steipete/goplaces

goplaces

Modern Google Places API (New) CLI. Human output by default, --json for scripts.

Install

  • Homebrew: brew install steipete/tap/goplaces

Config

  • GOOGLE_PLACES_API_KEY required.
  • Optional: GOOGLE_PLACES_BASE_URL for testing/proxying.

Common commands

  • Search: goplaces search "coffee" --open-now --min-rating 4 --limit 5
  • Bias: goplaces search "pizza" --lat 40.8 --lng -73.9 --radius-m 3000
  • Pagination: goplaces search "pizza" --page-token "NEXT_PAGE_TOKEN"
  • Resolve: goplaces resolve "Soho, London" --limit 5
  • Details: goplaces details <place_id> --reviews
  • JSON: goplaces search "sushi" --json

Notes

  • --no-color or NO_COLOR disables ANSI color.
  • Price levels: 0..4 (free → very expensive).
  • Type filter sends only the first --type value (API accepts one).

操作

install --global skills.sh
npx skills add openclaw/openclaw/skills/goplaces

使用指南

  1. 1. 运行安装命令

    复制上方的安装命令在终端中执行,以进行全局安装。

  2. 2. 配置环境变量

    根据组件说明,在您的 MCP 客户端配置相应的环境密鑰。

  3. 3. 客户端使用

    在支持 MCP 的应用(如 Claude 或 Cursor)中配置并启用该技能。