名称: spots
描述: 基于网格扫描的详尽谷歌地点搜索。发现所有地点,而不仅仅是谷歌推荐的那些。
元数据:
clawdbot:
emoji: 📍
private: true
发现谷歌不主动推荐的隐藏宝藏。
二进制文件路径:~/projects/spots/spots 或 go install github.com/foeken/spots@latest
# 通过地点名称搜索
spots "Arnhem Centrum" -r 800 -q "breakfast,brunch" --min-rating 4
# 通过坐标搜索(可从Telegram分享位置获取)
spots -c 51.9817,5.9093 -r 500 -q "coffee"
# 获取某个地点的评论
spots reviews "Koffiebar FRENKIE"
# 导出到地图
spots "Amsterdam De Pijp" -r 600 -o map --out breakfast.html
# 获取设置帮助
spots setup
| 参数 | 描述 | 默认值 |
|---|---|---|
-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 的谷歌 API 密钥。
spots setup # 查看完整设置说明
export GOOGLE_PLACES_API_KEY="..."
密钥存储在 1Password:op://Echo/Google API Key/credential
https://github.com/foeken/spots