Prompt Buddy logoPrompt Buddy

google · Google Workspace Docs

Google Drive API Go quickstart

A step-by-step guide to setting up a Go environment, authenticating with OAuth 2.0, and making initial API calls to the Google Drive API.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Google Drive API Go quickstart

A step-by-step guide to setting up a Go environment, authenticating with OAuth 2.0, and making initial API calls to the Google Drive API.

When To Use

Use when you need to implement a Go-based application that requires authentication and interaction with the Google Drive API.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/google-drive-api-go-quickstart-workflow-guide.mdA guide for setting up a Go command-line application to make requests to the Google Drive API.Questions about a guide for setting up a Go command-line application to make requests to the Google Drive API.

What This Skill Covers

  • Create a Go command-line application that makes requests to the Google Drive API.
  • Main sections: Objectives, Prerequisites, Set up your environment, Enable the API, Configure the OAuth consent screen.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.google.com/workspace/drive/api/quickstart/go