Skip to content

Gets google sheet data without an API key or OAuth (requires that the sheet is public)

License

Notifications You must be signed in to change notification settings

davea38/google-sheet-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Gets google sheet data without an API key or OAuth (requires that the sheet is public)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published