tokenizer

command
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: MIT Imports: 6 Imported by: 0

README

tokenizer

This tool generates a token for Google Sheets API.

Installation

go get github.com/takuoki/gsheets/tools/tokenizer

Requirement

This tool uses Google OAuth2.0. So before executing tool, you have to prepare credentials.json. See Go Quickstart, or Blog (Japanese) for the details.

Usage

Create readonly token
$ tokenizer gen
Go to the following link in your browser then type the authorization code:
https://accounts.google.com/o/oauth2/auth?...
(input your authorization code here)
Saving credential file to: token.json
complete
Create writable token
$ tokenizer gen -w
...
complete

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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