google-sheet-data

1.0.0 • Public • Published

Google Sheet Data

A simple library to go fetch data from Google Sheets without having to use OAuth or any configuration other than having made the sheet public.

Getting Started

const googleSheetData = require('./index');
 
const data = await googleSheetData({
  // https://developers.google.com/sheets/api/guides/concepts
  sheetId: [google sheet id],
  // json, csv, html 
  format: 'json', 
  // >= 0
  sheetNumber: 0,
});

Installing

Requires request-promise library

npm i request-promise

Prereqs

  • Make the sheet public
  • Record the sheetId
  • Doesn't require OAuth or any other authentication.
  • Profit!

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i google-sheet-data

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    3.65 kB

    Total Files

    5

    Last publish

    Collaborators

    • davea38