Claude Skill
openclaw/goplaces
goplaces 是一款基于 Go 语言的现代 Google Places 命令行工具。直接在终端中搜索地点、获取详情和评论。快速、轻量、开发者友好。
概览
仓库信息
安装这个 Skill
git clone https://github.com/openclaw/goplaces.gitRegistry 信息
项目简介
goplaces 是一款基于 Go 语言开发的现代、快速的 Google Places 命令行工具,让开发者可以直接在终端中搜索地点、获取详情和查看评论。
Modern Google Places CLI in Go
要点
- 基于 Go 语言构建的快速命令行工具
- 搜索地点并获取详细位置信息
- 在终端中检索用户评论
- 轻量级,无额外依赖
- 为开发者提供简洁的命令行界面
使用场景
- 在开发过程中快速查询地点详情
- 在脚本中自动化提取位置数据
- 获取评论用于分析或报告
- 集成到 CI/CD 流水线中进行位置检查
- 无需浏览器即可探索 Google Places 数据
README 摘要
# goplaces  Modern Go client and CLI for the Google Places API (New), plus selected Routes API workflows. Docs site: https://goplaces.sh Use it when you want Google place data from a terminal, shell script, agent, or Go program without hand-writing Places field masks and request payloads. `goplaces` keeps the human CLI pleasant, but the same commands also emit stable JSON for automation. Typical jobs: - Find places by text, type, rating, price, current open state, and location bias. - Inspect a place: address, coordinates, phone, website, hours, photos, reviews, current open state, and business status. - Autocomplete partial place/query input. - Search nearby a lat/lng radius. - Resolve free-form locations to place candidates. - Search for places along a route. - Get directions, travel time, distance, steps, units, and drive route modifiers. ## Project Shape - `cmd/goplaces`: CLI entrypoint built around the library. - Root package `github.com/steipete/goplaces`: stable public Go API. - `internal/places`: Places + Routes implementation and focused client tests. - `internal/cli`: command parsing, output rendering, and CLI tests. - Places API (New): search, nearby, details, autocomplete, photo media, resolve. - Routes API: route polyline sampling and directions. - Output: compact color text by default, JSON with `--json`. - Runtime config: environment variables or flags. ## Install / Run Latest release: v0.4.3 (2026-05-20). - Homebrew: `brew install openclaw/tap/goplaces` - Go: `go install github.com/steipete/goplaces/cmd/goplaces@latest` - Source: `make goplaces` ## API Setup `goplaces` needs a Google API key with the right APIs enabled: - Places API (New) for `search`, `nearby`, `autocomplete`, `details`, `ph