Usage
goplaces search <query> [flags]
goplaces search "coffee" --min-rating 4 --open-now --limit 5 \ --lat 40.8065 --lng -73.9719 --radius-m 3000 --language en --region US
Flags
--limit | Max results, 1-20. Default: 10. |
|---|---|
--page-token | Continue a paginated Places response. |
--language, --region | BCP-47 language and CLDR region hints. |
--keyword | Append a keyword to the text query. |
--type | Place type filter. Repeatable; Google receives the included type. |
--open-now | Return currently open places only. |
--min-rating | Minimum rating, 0-5. |
--price-level | Price levels 0-4. Repeatable. |
--lat, --lng, --radius-m | Optional location bias. Provide all three together. |
Global flags include --json, --api-key, --timeout, --no-color, and endpoint overrides.
Automation
goplaces search "sushi" --json goplaces search "pizza" --page-token "$NEXT_PAGE_TOKEN"