What problem does it solve?
This Skill simplifies accessing and managing Google Workspace services like Gmail, Calendar, Drive, Sheets, and Docs directly through a command-line interface or Python script.
Core Features & Use Cases
- Gmail Management: Search, read, send, reply, and label emails.
- Calendar Operations: List, create, and delete events.
- Drive File Operations: Search, get metadata, upload, download, create folders, share, and delete files.
- Contacts Management: List contacts.
- Sheets Operations: Create, read, update, and append rows in spreadsheets.
- Docs Operations: Read, create, and append text to Google Docs.
- Use Case: Need to check and respond to emails quickly, organize your calendar, manage documents and spreadsheets, and collaborate with team members? This Skill offers a convenient way to do all of that from the command line or script.
Quick Start
Run the following command to setup OAuth2 credentials:
python /path/to/productivity/google-workspace/scripts/setup.py --client-secret /path/to/client_secret.json
After setup, use the gapi shorthand to interact with Google Workspace services:
GAPI="python /path/to/productivity/google-workspace/scripts/google_api.py"
$GAPI gmail search "is:unread"