News Score: Score the News, Sort the News, Rewrite the Headlines

Reading Google Sheets from a Go program

I recently needed to process some data from a Google Sheet in a Go program, and was looking for the most straightforward way to do so on my local machine. Using gcloud's ADC didn't work for me because it typically doesn't have access to sheets or docs. The simplest approach I found to work was using a service account. This post demonstrates this approach, as well as a (slightly) more involved approach that uses Oauth 2.0 Service account A service account on GCP can be thought of as a virtual acc...

Read more at eli.thegreenplace.net

© News Score  score the news, sort the news, rewrite the headlines