spots
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesespots
spots
Find the hidden gems Google doesn't surface.
Binary: or
~/projects/spots/spotsgo install github.com/foeken/spots@latest找到Google未展示的隐藏好去处。
二进制文件路径: 或执行 进行安装
~/projects/spots/spotsgo install github.com/foeken/spots@latestUsage
使用方法
bash
undefinedbash
undefinedSearch by location name
按地点名称搜索
spots "Arnhem Centrum" -r 800 -q "breakfast,brunch" --min-rating 4
spots "Arnhem Centrum" -r 800 -q "breakfast,brunch" --min-rating 4
Search by coordinates (share location from Telegram)
按坐标搜索(可从Telegram分享位置获取)
spots -c 51.9817,5.9093 -r 500 -q "coffee"
spots -c 51.9817,5.9093 -r 500 -q "coffee"
Get reviews for a place
获取某地点的评论
spots reviews "Koffiebar FRENKIE"
spots reviews "Koffiebar FRENKIE"
Export to map
导出到地图
spots "Amsterdam De Pijp" -r 600 -o map --out breakfast.html
spots "Amsterdam De Pijp" -r 600 -o map --out breakfast.html
Setup help
设置帮助
spots setup
undefinedspots setup
undefinedOptions
选项
| Flag | Description | Default |
|---|---|---|
| lat,lng directly | - |
| meters | 500 |
| search terms | breakfast,brunch,ontbijt,café,bakkerij |
| 1-5 | - |
| count | - |
| only open | false |
| json/csv/map | json |
| 参数 | 说明 | 默认值 |
|---|---|---|
| 直接输入纬度,经度 | - |
| 搜索半径(米) | 500 |
| 搜索关键词 | breakfast,brunch,ontbijt,café,bakkerij |
| 最低评分(1-5) | - |
| 最低评论数 | - |
| 仅显示当前营业的地点 | false |
| 输出格式(json/csv/map) | json |
Setup
设置
Needs Google API key with Places API + Geocoding API enabled.
bash
spots setup # full instructions
export GOOGLE_PLACES_API_KEY="..."Key stored in 1Password:
op://Echo/Google API Key/credential需要启用Places API和Geocoding API的Google API密钥。
bash
spots setup # 查看完整说明
export GOOGLE_PLACES_API_KEY="..."密钥存储在1Password中:
op://Echo/Google API Key/credential