返回 Skill 列表
extension
分类: 效率与办公需要 API Key

spots

基于网格扫描的Google Places穷举搜索,能找出所有地点,而不仅是Google显示的结果。

person作者: foekenhubclawhub

spots

Find the hidden gems Google doesn't surface.

Binary: ~/projects/spots/spots or go install github.com/foeken/spots@latest

Usage

# 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

Options

| Flag | Description | Default | |------|-------------|---------| | -c, --coords | lat,lng directly | - | | -r, --radius | meters | 500 | | -q, --query | search terms | breakfast,brunch,ontbijt,café,bakkerij | | --min-rating | 1-5 | - | | --min-reviews | count | - | | --open-now | only open | false | | -o, --output | json/csv/map | json |

Setup

Needs Google API key with Places API + Geocoding API enabled.

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

Key stored in 1Password: op://Echo/Google API Key/credential

Source

https://github.com/foeken/spots