easy integration of google workspace/cli #119
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_lib#119
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://github.com/googleworkspace/cli
we need libraries that can help to import your data from google (at least extract them)
after investigation:
Work completed. Here are the APIs added in
crates/clients/src/google/:Gmail
gmail_triage(builder)— quick summary of unread messages with optional query/label filtersgmail_list_messages(params)— list messages with paginationgmail_get_message(message_id)— retrieve a single messagegmail_list_labels()— list all Gmail labelsgmail_download_message(msg_id, path, format)— download message as raw .eml, full JSON, or metadatagmail_download_attachment(msg_id, attachment_id, path)— download a specific attachmentgmail_export_messages(query, output_dir)— bulk export with auto-pagination and concurrent downloadsDrive
drive_list_files(builder)— list files with query filters, pagination, and sortingdrive_get_file_metadata(file_id)— get file metadata without downloading contentdrive_download_file(file_id, path)— download a binary filedrive_export(file_id, mime_type, path)— export Google Docs/Sheets/Slides to PDF, CSV, PNG, etc.drive_export_all(output_dir, query)— bulk export with smart format conversion and concurrent downloadsCalendar
calendar_agenda(builder)— quick agenda view (today, tomorrow, week, or N days)calendar_list_events(calendar_id, params)— list events with paginationcalendar_get_event(calendar_id, event_id)— get a single eventcalendar_export_events(calendar_id, path)— bulk export all events to JSONContacts
contacts_get(resource_name)— get a single contactcontacts_search(query)— search contactscontacts_list(page_size, page_token)— list all contacts with paginationcontacts_list_groups()— list contact groupscontacts_export(path)— bulk export all contacts to JSONAll APIs are read-only and include Rhai scripting bindings.