spots

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

spots

spots

Find the hidden gems Google doesn't surface.
Binary:
~/projects/spots/spots
or
go install github.com/foeken/spots@latest
找到Google未展示的隐藏好去处。
二进制文件路径:
~/projects/spots/spots
或执行
go install github.com/foeken/spots@latest
进行安装

Usage

使用方法

bash
undefined
bash
undefined

Search 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
undefined
spots setup
undefined

Options

选项

FlagDescriptionDefault
-c, --coords
lat,lng directly-
-r, --radius
meters500
-q, --query
search termsbreakfast,brunch,ontbijt,café,bakkerij
--min-rating
1-5-
--min-reviews
count-
--open-now
only openfalse
-o, --output
json/csv/mapjson
参数说明默认值
-c, --coords
直接输入纬度,经度-
-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

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

Source

源码地址