Skip to content

averstappen/go-google-sheets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-google-sheets

A very crude library based on the google sheets go quickstart guide, for importing into my other projects.

Note that credential file is always named the same, and is looked for in .credentials directory in the current working directory. That's probably not best practice, but helps me to keep things contained in one place.

you will need to:

import "github.com/averstappen/go-google-sheets"

which will give you

resp, err := gsheets.GetValues(sheetId string, readRange string)
// you can use &gsheets.ValueRange{} where you'd normally use &sheets.ValueRange{}
resp, err := gsheets.UpdateValues(sheetId string, writeRange string, values *sheets.ValueRange, valueinputoption string)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages