gs-wrapper

0.1.0 • Public • Published

Google Sheets Wrapper

yarn add f12-google-sheets

This project requires a Google Cloud Service Account credentials file.

Usage

Get all rows

import GoogleSheets from 'f12-google-sheets'

const gs = new GoogleSheets({
  credentialsPath: path.join(__dirname, '../../credentials.json'), // Path to the Google Cloud service account credentials file
  spreadsheetId: 'abcde' // Id of the google sheet
})

const rows = await gs.getAll()

Readme

Keywords

none

Package Sidebar

Install

npm i gs-wrapper

Weekly Downloads

6

Version

0.1.0

License

Apache-2.0

Unpacked Size

96 kB

Total Files

9

Last publish

Collaborators

  • chrisabrams