gogcli icon indicating copy to clipboard operation
gogcli copied to clipboard

Feature Request: Google Places API Support

Open ZinkDifferent opened this issue 9 months ago • 2 comments

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 1000
  • gog 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?

ZinkDifferent avatar Feb 10 '26 04:02 ZinkDifferent

I already opened a PR that handles this! See #140.

salmonumbrella avatar Feb 12 '26 01:02 salmonumbrella

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.

steipete avatar May 10 '26 05:05 steipete