spreadsheet-as-db
v1.0.5
Published
Retrive data from spreadsheet
Downloads
6
Readme
Usage
First you should publish (Video instruction) your spreadsheat on web as csv
.
After publishing you should have shareable link. Copy that link and use it like this .
let ss_link = 'YOUR_LINK';
let spreadsheet = Spreadshet(ss_link, ['title1', 'title2', 'title3', 'title4', ])
This script will get data from spreadsheet. After that you can get data as JSON
,TEXT
or ARRAY
.
spreadsheet.text() // will give you just text
spreadsheet.json() // or json. with titles that you put on init line
spreadsheet.array()