SKILL.md
readonlyread-only
name
goplaces
description
透過 goplaces 查詢 Google Places 的文字搜尋、地點詳細資訊、地址解析、評論或可腳本化的 JSON 輸出。
goplaces
現代化的 Google Places API (新版) 命令列工具。預設輸出人類可讀的內容,加上 --json 則可用於腳本。
安裝
- Homebrew:
brew install steipete/tap/goplaces
設定
- 需要
GOOGLE_PLACES_API_KEY。 - 可選:
GOOGLE_PLACES_BASE_URL用於測試或代理。
常用指令
- 搜尋:
goplaces search "coffee" --open-now --min-rating 4 --limit 5 - 偏重:
goplaces search "pizza" --lat 40.8 --lng -73.9 --radius-m 3000 - 分頁:
goplaces search "pizza" --page-token "NEXT_PAGE_TOKEN" - 地址解析:
goplaces resolve "Soho, London" --limit 5 - 詳細資訊:
goplaces details <place_id> --reviews - JSON 輸出:
goplaces search "sushi" --json
備註
--no-color或NO_COLOR可停用 ANSI 顏色。- 價格等級:0..4(免費 -> 非常昂貴)。
- 類型篩選只會傳送第一個
--type值(API 只接受一個)。






