bassarisse / google-spreadsheet-to-json

Simple tool to export Google Spreadsheets to JSON files, though Node API or CLI
The Unlicense
134 stars 33 forks source link

Using the allWorksheets option in Node #23

Closed sugarcup closed 6 years ago

sugarcup commented 6 years ago

I have tried a few attempts and looked through the docs to get the AllWorksheets option in Node, but not having any luck. Please confirm the correct syntax.

gsjson({ spreadsheetId: 'abc123456789', worksheets: 'allWorksheets' })

bassarisse commented 6 years ago

The correct usage would be like this:

gsjson({
    spreadsheetId: 'abc123456789',
    allWorksheets: true,
})