Skip to content

This is a Go program that writes to a Google Drive Spreadsheet.

Notifications You must be signed in to change notification settings

bphermansson/WriteToGoogleDriveSpreadsheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Go program that writes to a Google Drive Spreadsheet. We can select what to write to which cell. In a second step it also appends two rows to the document.

Usage:

https://docs.google.com/spreadsheets/d/1qBE9NfyyyyyyyyyQkTy-nnnnnnn0/edit?usp=sharing

  • Rename 'copy.json.example' to 'copy.json'.
  • Copy the id, the part between '/spreadsheets/d/' and '/edit', a row like
    '1qBE9NfyyyyyyyyyQkTy-nnnnnnn0'. Insert this as 'spreadsheetId' in conf.json.
  • Run with 'go run WriteToGoogleDriveSpreadsheet.go'. If everything works your Spreadsheet will get some new data. You can adjust what to write (myval := []interface{}{"OK!"}) and in which cell (writeRange := "F1").

About

This is a Go program that writes to a Google Drive Spreadsheet.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages