0.0.2 • Published 8 years ago

hubot-wize-menu v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

hubot-wize-menu

A hubot script that retrieves the Wize menu from a Google Spreadsheet.

Dependencies

Installation

In hubot project repository, run:

npm install hubot-wize-menu --save

Then add hubot-wize-menu to your external-scripts.json:

["hubot-wize-menu"]

You will need to setup 3 environment variables since the script uses a 2-legged oauth method.

GOOGLE_SPREADSHEET_KEY - Google SpreadSheet ID from the URL
GOOGLE_CLIENT_EMAIL - Authenticated Client Email
GOOGLE_PRIVATE_KEY - Generated Private Key

To retrieve the GOOGLE_CLIENT_EMAIL and GOOGLE_PRIVATE_KEY keys, follow the instructions of the node-google-spreadsheet README: Service Account Setup Instructions.

Sample Interaction

user1>> hubot menu lunes
hubot>> Menu del lunes:

​*Desayuno*​
Enfrijoladas

​*Comida*​
1. Pinchos de pollo bañados en mole verde 
V. Brotes con pasas y almendras
A. Moros y Cristianos
0.0.2

8 years ago

0.0.1

8 years ago