Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.05 KB

File metadata and controls

30 lines (22 loc) · 1.05 KB

Node Service to read/write to Google Sheets

Getting Started

  • Enable the Google Sheets API in the Google Developers Console
    • Create a Service User account and email address
    • Copy the Project ID
    • Download the connection Keys JSON file, and save it in the root project directory as: google_service_account_credentials.json
  • Create the .env file
cp .env.example .env

Test the Service

Export the env variables or pass them as arguments

SHEET_ID=######### SHEET_NAME=Sheet1 npm run test

References