sush-plugin-spreadsheet
Fetch Google Spreadsheet.
Table of Contents
Install
For HTML
Insert script tags in your HTML.
<!-- Add script tags of SUSH Plugins -->
Via Node.js
npm install --save sush sush-plugin-spreadsheet [...SUSH_PLUGINS]
Usage
Prepare
- Create Google Spreadsheet
- First line is header which has
id
,url
, (optionaltimestamp
) - See Example
- Publish Spreadsheet to the Web
- See Google Help
- Set spreadsheet URL to
sheetUrl
- URL must contain gid in hash or query
Via HTML
Via Node.js (e.g. Browserify, Webpack)
;;; const sheetUrl = 'https://docs.google.com/spreadsheets/d/XXXXXX_XXXXXX/edit#gid=0'; const sush = ; sush;
Contribute
PRs accepted.
License
MIT © 3846masa