quickstart

command
v0.0.0-...-fafb985 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

README

Google Drive Go Quickstart

Complete the steps described in the Google Drive Go Quickstart, and in about five minutes you'll have a simple Go command-line application that makes requests to the Drive API.

Credentials

Download the credentials.json file to this directory by following the steps in the above link.

Install Dependencies

go get google.golang.org/api/drive/v3
go get golang.org/x/oauth2/google

Run

go run quickstart.go

Documentation

Overview

*

  • @license
  • Copyright Google Inc. *
  • Licensed under the Apache License, Version 2.0 (the "License");
  • you may not use this file except in compliance with the License.
  • You may obtain a copy of the License at *
  • https://www.apache.org/licenses/LICENSE-2.0 *
  • Unless required by applicable law or agreed to in writing, software
  • distributed under the License is distributed on an "AS IS" BASIS,
  • WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  • See the License for the specific language governing permissions and
  • limitations under the License.

[START drive_quickstart]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL