Skip to content

coderofsalvation/hubot-script-spreadsheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hubot-script-spreadsheet

hubot (query) interface to google spreadsheet (with authentication)

A cat gif, no project can live without it!

Example

Simple:

hubot> hubot spreadsheet myspreadsheet
Product Id  Description            Price, USD
----------  ---------------------  ----------
123123      Something awesome         1000.00
245452      Very interesting book       11.45
232323      Yet another product        555.55

source: https://docs.google.com/spreadsheet/ccc?key=sdfsdfsdfsdf..

regex searchquery:

hubot> hubot spreadsheet myspreadsheet awesome|book
Product Id  Description            Price, USD
----------  ---------------------  ----------
123123      Something awesome         1000.00
245452      Very interesting book       11.45

source: https://docs.google.com/spreadsheet/ccc?key=sdfsdfsdfsdf..

Why

A spreadsheet is an awesome userinterface+database in one view. Its easy for everybody to use, so referencing/querying spreadsheets can be very handy during text teamcommunication.

Configuration:

GOOGLE_SPREADSHEET_LOGIN="you@gmail.com"
GOOGLE_SPREADSHEET_PASSWD="somepassword"

Commands:

add a spreadsheet first:

hubot spreadsheet save myspreadsheet spreadsheetname|sheet1|2|http://....

then:

 hubot spreadsheet                                 # shows usage + available sheets
 hubot spreadsheet myspreadsheet                   # displays sheet
 hubot spreadsheet myspreadsheet <regex>           # displays sheet entries which match "foo"
 hubot spreadsheet del myspreadsheet               # delete

About

hubot plugin: (query) interface to google spreadsheet (*with* authentication)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published