Feature Request: Google Places API Support
Request: Add Google Places API support to gog CLI
Current behavior: gog supports Gmail, Calendar, Drive, Contacts, Sheets, and Docs via OAuth. However, Google Places API uses API key authentication (not OAuth), so it is not currently supported.
Desired behavior: Add support for Google Places API (New) operations:
gog places search "query" --near "lat,lng" --radius 1000gog places details <place_id>gog places nearby --type restaurant --location "lat,lng"
Authentication complexity:
Places API uses API keys (AIza...) instead of OAuth tokens. This might require:
- A different auth path:
gog auth places --api-key KEY - Or env var:
GOOGLE_PLACES_API_KEY
Use case: Command-line location search for scripts and automation, complementing the existing Workspace tools.
Would this fit within gog's scope, or is it intentionally limited to Workspace (OAuth) services?
I already opened a PR that handles this! See #140.
Closing this as a duplicate/subset of #571, which now tracks the broader Maps Platform surface including Places search/details plus directions, distance matrix, and geocoding. Keeping the discussion consolidated there.