ClawSkills logoClawSkills

spots

使用基于网格的扫描进行详尽的 Google Places 搜索。找到所有地点,而不仅仅是 Google 展示的内容。

介绍

# spots

**发现 Google 未展示的隐藏宝藏。**

二进制文件:`~/projects/spots/spots` 或 `go install github.com/foeken/spots@latest`

## 使用方法

```bash # Search by location name spots "Arnhem Centrum" -r 800 -q "breakfast,brunch" --min-rating 4

# Search by coordinates (share location from Telegram) spots -c 51.9817,5.9093 -r 500 -q "coffee"

# Get reviews for a place spots reviews "Koffiebar FRENKIE"

# Export to map spots "Amsterdam De Pijp" -r 600 -o map --out breakfast.html

# Setup help spots setup ```

## 选项

| Flag | 描述 | 默认值 | |------|-------------|---------| | `-c, --coords` | 直接指定 lat,lng | - | | `-r, --radius` | 米 | 500 | | `-q, --query` | 搜索词 | breakfast,brunch,ontbijt,café,bakkerij | | `--min-rating` | 1-5 | - | | `--min-reviews` | 数量 | - | | `--open-now` | 仅显示营业中 | false | | `-o, --output` | json/csv/map | json |

## 设置

需要启用 Places API 和 Geocoding API 的 Google API 密钥。

```bash spots setup # full instructions export GOOGLE_PLACES_API_KEY="..." ```

存储在 1Password 中的密钥:`op://Echo/Google API Key/credential`

## 源代码

https://github.com/foeken/spots

更多产品