网淘吧来吧,欢迎您!

返回首页 微信
微信
手机版
手机版

Gog

2026-03-23 新闻来源:网淘吧 围观:83
电脑广告
手机广告
购买adidas上京东官方旗舰店。

gog

用于 Gmail/日历/云端硬盘/联系人/表格/文档。需要 OAuth 设置。设置(一次性)gog auth credentials /path/to/client_secret.json

gog auth add you@gmail.com --services gmail,calendar,drive,contacts,sheets,docs

上网淘巴领天猫淘宝优惠券,一年省好几千。
  • gog auth list
  • 常用命令
  • Gmail 搜索:

gog gmail search 'newer_than:7d' --max 10

  • Gmail 发送:gog gmail send --to a@b.com --subject "Hi" --body "Hello"
  • 日历:gog calendar events <calendarId> --from <iso> --to <iso>
  • 云端硬盘搜索:gog drive search "query" --max 10
  • 联系人:gog contacts list --max 20
  • 表格获取:gog sheets get <sheetId> "Tab!A1:D10" --json
  • 表格更新:gog sheets update <sheetId> "Tab!A1:B2" --values-json '[["A","B"],["1","2"]]' --input USER_ENTERED
  • 表格追加:gog sheets update <sheetId> "Tab!A1:B2" --values-json '[["A","B"],["1","2"]]' --input USER_ENTERED
  • Sheets append:gog sheets append <sheetId> "Tab!A:C" --values-json '[["x","y","z"]]' --insert INSERT_ROWS
  • Sheets clear:gog sheets clear <sheetId> "Tab!A2:Z"
  • Sheets metadata:gog sheets metadata <sheetId> --json
  • Docs export:gog docs export <docId> --format txt --out /tmp/doc.txt
  • Docs cat:gog docs cat <docId>

Notes

  • SetGOG_ACCOUNT=you@gmail.comto avoid repeating--account.
  • For scripting, prefer--jsonplus--no-input.
  • Sheets values can be passed via--values-json(recommended) or as inline rows.
  • Docs supports export/cat/copy. In-place edits require a Docs API client (not in gog).
  • Confirm before sending mail or creating events.
免责申明
部分文章来自各大搜索引擎,如有侵权,请与我联系删除。
打赏
上网淘巴领天猫淘宝优惠券,一年省好几千。

文章底部电脑广告
手机广告位-内容正文底部
上一篇:Skill Vetter 下一篇:Github

相关文章

上网淘巴领天猫淘宝优惠券,一年省好几千。

广告  ×

您是本站第223242名访客 今日有66篇新文章/评论