Examples of client code using node-sparky to consume the Cisco Spark REST API.
Retrieve an Cisco Spark API access token from Spark for developers and run the command below in a terminal:
git clone https://github.com/CiscoDevNet/node-sparky-samples
cd node-sparky-samples
npm install
SPARK_TOKEN=XXXXXXXXXXXX node create-message.js