Metalsmith plugin to ingest google-sheets using node-google-spreadsheets
See node-google-spreadsheet docs
npm --save metalsmith-google-sheets
For now please review the tests
You need to have a Google API account, and set up your sheet accordingly, instructions here: node-google-spreadsheet docs
"metalsmith-google-sheets": {
"key": "THE_SPREADSHEET_KEY",
"serviceAccountEmail": "YOUR_APP_EMAIL_ADDRESS",
"privateKey": "YOUR_API_PRIVATE_KEY_HERE"
}
.use(googleSheets({
key: "THE_SPREADSHEET_KEY",
serviceAccountEmail: "YOUR_APP_EMAIL_ADDRESS",
privateKey: "YOUR_API_PRIVATE_KEY_HERE"
}))