A library to read data out of a public Google Sheet Document
$ yarn add google-sheets-data
importGoogleSheetsDatafrom'google-sheets-data'constsheetId='1jNWarfCxUCnjby0fKPViY9j5h2XTB4k0InK9OWdd1-s'constsheet=newGoogleSheetsData(sheetId)constdata=awaitsheet.getData()For example this shareable link:
https://docs.google.com/spreadsheets/d/1jNWarfCxUCnjby0fKPViY9j5h2XTB4k0InK9OWdd1-s/edit?usp=sharing
Would have the ID of:
1jNWarfCxUCnjby0fKPViY9j5h2XTB4k0InK9OWdd1-s