In my sample script, the script was made using the Quickstart. The flow to use this sample script is as follows.
- For Go Quickstart, please do Step 1 and Step 2.
- Please put
client_secret.json
to the same directory with my sample script. - Copy and paste my sample script, and create it as new script file.
- Run the script.
- When
Go to the following link in your browser then type the authorization code:
is shown on your terminal, please copy the URL and paste to your browser. And then, please authorize and get code. - Put the code to the terminal.