Skip to content

tool to download a google-spreadsheet workbook into a collection of csv files

Notifications You must be signed in to change notification settings

LafayetteCollegeLibraries/google-sheets-csv-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

google-sheets-csv-sync

Writes data from Google Spreadsheet to csv files and (optionally) uses git to commit the changes.

usage

const { client_email, private_key } = require('./config_secret.json')
const config = {
  drive_info: { client_email, private_key },
  spreadsheet_id: 'abcd_efghi-jklmnopqrstuvwxyz_0123456-789',
  output_dir: '/path/to/output/directory',

  // these are optional
  commit: true,
  commit_message: 'ayo, here is an automated commit'
}

sync(config)
  .then(paths => console.log('write to:', pahts))
  .catch(err => console.warn(err))

About

tool to download a google-spreadsheet workbook into a collection of csv files

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published