Peter Steinberger
fb660d880f
fix: document json arrays + regressions ( #2 ) (thanks @salmonumbrella)
ci / test (push) Has been cancelled
2026-01-10 18:36:12 +01:00
salmonumbrella
04d3133126
fix(cli): output JSON arrays directly for jq compatibility
...
Change --json output to emit just the results array instead of
a wrapper object, enabling standard jq piping patterns like
`goplaces search "coffee" --json | jq '.[0]'`.
- search, nearby, resolve: output .Results array, write
next_page_token to stderr if present
- autocomplete: output .Suggestions array
- details, photo, route: unchanged (single objects)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 18:35:35 +01:00
Peter Steinberger
16c0093b92
test: expand route coverage
ci / test (push) Has been cancelled
build / goreleaser (push) Has been cancelled
2026-01-02 23:01:29 +01:00
Peter Steinberger
6089c1af9a
fix: harden route command
2026-01-02 22:38:59 +01:00
James Brooks
d157022860
feat: add route command for searching places along a route
...
Adds a new route command that searches for places along a driving route between two locations.
Features:
- Uses Google Routes API to get route polyline
- Samples waypoints evenly along the route by distance
- Searches for places at each waypoint with location bias
- Supports all travel modes (DRIVE, WALK, BICYCLE, TWO_WHEELER, TRANSIT)
- Configurable waypoint count, search radius, and result limit
Usage:
goplaces route "coffee" --from "London, UK" --to "Bristol, UK"
goplaces route "gas station" --from "NYC" --to "Boston" --max-waypoints 5
2026-01-02 22:30:00 +01:00
Peter Steinberger
26938cc53c
feat: add photo support
2026-01-02 21:37:23 +01:00
Peter Steinberger
d7b928d712
feat: add nearby search
2026-01-02 21:30:33 +01:00
Peter Steinberger
715f4d8aa7
feat: add autocomplete support
2026-01-02 21:24:55 +01:00
Peter Steinberger
03d23c05fc
docs: add inline comments
2026-01-02 20:56:05 +01:00
Peter Steinberger
fbc63a4f5c
chore: prepare 0.1.0 release
ci / test (push) Has been cancelled
release / goreleaser (push) Has been cancelled
2026-01-02 20:29:03 +01:00
Peter Steinberger
c56e7059d0
feat: add reviews support
2026-01-02 19:49:35 +01:00
Peter Steinberger
2bca928e4e
feat: add locale options and lint fmt
2026-01-02 18:21:38 +01:00
Peter Steinberger
56400a603f
chore: fix lint config and docs
2026-01-02 17:35:00 +01:00
Peter Steinberger
f47ad8108c
feat: bootstrap goplaces
2026-01-02 17:21:02 +01:00