0.1.3 • Published 7 years ago

hubot-sparkwebhook v0.1.3

Weekly downloads
1
License
-
Repository
github
Last release
7 years ago

Hubot Cisco Spark Adapter

Description

This is a Cisco Spark adapter for hubot that uses Cisco Spark webhooks.

Installation

Example Installation

npm install -g yo generator-hubot

yo hubot --adapter sparkwebhook

curl -X POST -H "Authorization: Bearer YmQ5Mjk2YjUtM2FlNy00ZGU02Y5mZGEtY2I1OTQ5YzcyOTg4MzYTTTQ3OTktYjMw" -H "Content-Type: application/json"  -d '{
    "name": "hubot",
    "targetUrl": "http://myhubot:8080/hubot/ciscospark/incoming",
    "resource": "all",
    "event": "all"
}' "https://api.ciscospark.com/v1/webhooks"

export CISCOSPARK_ACCESS_TOKEN=YmQ5Mjk2YjUtM2FlNy00ZGU02Y5mZGEtY2I1OTQ5YzcyOTg4MzYTTTQ3OTktYjMw

bin/hubot -a sparkwebhook

Environment variables

This adapter uses the following environment variables:

CISCOSPARK_ACCESS_TOKEN (required)

The token that Spark for Developers Portal gives you when creating a bot account

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

8 years ago

0.1.0

8 years ago