Skip to content

Instantly share code, notes, and snippets.

View ssatyamchauhan's full-sized avatar
💭
Life is a struggle if you stop struggling then you will die

Satyam Singh ssatyamchauhan

💭
Life is a struggle if you stop struggling then you will die
  • Full Time Freelancer
  • Greater Noida
View GitHub Profile
@iaincollins
iaincollins / Google Spreadsheet.js
Last active May 30, 2021 16:03
Example Node.js code to append to a Google Spreadsheet every hour
/**
* Append data to a Google Spreadsheet
*
* You will need a file called '.env' with the following values:
*
* - GOOGLE_ID (Google oAuth Client ID)
* - GOOGLE_SECRET (Google oAuth Client Secret)
* - GOOGLE_REFRESH_TOKEN (Google oAuth Refresh Token)
* - GOOGLE_SPREADSHEET_ID (Google Spreadsheet ID)
*