hubot-wize-menu
v0.0.2
Published
A good menu is a Wize Menu
Readme
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 --saveThen 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 KeyTo 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