google-spreadsheets-parser
Simple Google Spreadsheets parser for JavaScript
Installation
NPM
npm install google-spreadsheets-parser
Bower
bower install google-spreadsheets-parser
Manual Download
Download from here
Introduction
- Create new Google Spreadsheet
- Publish spreadsheet
You can show following tables from published url
- Setting
With Browser, import googleSpreadsheetsParser.js in header
Node.js
var GoogleSpreadsheetsParser = require 'google-spreadsheets-parser'
- Get data
var gss = publishedUrl sheetTitle: 'Sample' hasTitle: true; console; // ["ID", "Name", "Age"]console; // [Array[3], Array[3], Array[3], Array[3], Array[3]]console; // Doug
Features
.titles
: Table titles array in the frst row..contents
: Table data 2d array in the second row later..toJSON
: JSON data of contents.