Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

erunion/hubot-somastreat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hubot-somastreat NPM version

A Hubot plugin to tell you what vendors are at the SOMA StrEat Food Park today.

Usage

hubot somatrucks - Pulls todays food truck vendors
hubot somastreat lunch - Pulls food truck vendors for lunch today
hubot somastreat dinner - Pulls food truck vendors for dinner tonight

Configuration

Since SOMA StrEat Food Park puts their daily vendor lists on Twitter, this plugin utilizes the Twitter API. As such, you'll need to create a Twitter application to use this plugin.

Once you have a consumer key and secret key, you can go ahead and set up some environment variables for this plugin.

Heroku

% heroku config:add HUBOT_TWITTER_KEY="key"
% heroku config:add HUBOT_TWITTER_SECRET="secret"
% heroku config:add HUBOT_TWITTER_TOKEN="token"
% heroku config:add HUBOT_TWITTER_TOKEN_SECRET="secret"

Non-Heroku environment variables

% export HUBOT_TWITTER_KEY="key"
% export HUBOT_TWITTER_SECRET="secret"
% export HUBOT_TWITTER_TOKEN="token"
% export HUBOT_TWITTER_TOKEN_SECRET="secret"

Installation

  1. npm install hubot-somastreat --save
  2. Add "hubot-somastreat" to your external-scripts.json file.
  3. Reboot Hubot.

About

A Hubot plugin to tell you what vendors are at the SOMA StrEat Food Park today.

Resources

License

Stars

Watchers

Forks

Packages

No packages published