This is the Cisco Spark adapter for Hubot that allows communication in Spark channels.
- Install dependencies with
npm install
- Set environment variables (below)
- Run hubot with
bin/hubot -a spark -n name
The following environment variables are required for connecting :
HUBOT_SPARK_API_URI
- (optional, defaults to "https://api.ciscospark.com/v1")HUBOT_SPARK_ACCESS_TOKEN
- Your API access token, generated from the Cisco Spark developer consoleHUBOT_SPARK_ROOMS
- A list of room IDs that you want your bot to listen to, seperated with commas.
I copied the framework from hubot-yammer who copied it from hubot-twitter