commit 73385dbdae94961b74c4dde8258212fdfe4bdb94 Author: zlei9 Date: Sun Mar 29 14:21:38 2026 +0800 Initial commit with translated description diff --git a/SKILL.md b/SKILL.md new file mode 100644 index 0000000..b0feafa --- /dev/null +++ b/SKILL.md @@ -0,0 +1,30 @@ +--- +name: goplaces +description: "通过goplaces CLI查询Google Places API(新版)。" +homepage: https://github.com/steipete/goplaces +metadata: {"clawdbot":{"emoji":"📍","requires":{"bins":["goplaces"],"env":["GOOGLE_PLACES_API_KEY"]},"primaryEnv":"GOOGLE_PLACES_API_KEY","install":[{"id":"brew","kind":"brew","formula":"steipete/tap/goplaces","bins":["goplaces"],"label":"Install goplaces (brew)"}]}} +--- + +# 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 --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). diff --git a/_meta.json b/_meta.json new file mode 100644 index 0000000..5e1ac11 --- /dev/null +++ b/_meta.json @@ -0,0 +1,6 @@ +{ + "ownerId": "kn70pywhg0fyz996kpa8xj89s57yhv26", + "slug": "goplaces", + "version": "1.0.0", + "publishedAt": 1767545347454 +} \ No newline at end of file