ciscospark is a collection of node modules targeting our external APIs. Its core libraries take inspiration from our web client's Legacy SDK.
npm install --save ciscosparkAt this time, a prebuilt version of ciscospark is not available. If your project already uses browserify, or webpack this shouldn't be an issue. If not, you'll need to clone the repository and build it with:
npm install -g browserify
npm install
npm run bootstrap
npm run build
browserify --standalone ciscospark packages/ciscospark > bundle.jsFor production builds, change
npm run buildtoNODE_ENV=production npm run build.
Note that when when building for the browser, you'll need define
CISCOSPARK_ACCESS_TOKENorCISCOSPARK_CLIENT_IDCISCOSPARK_CLIENT_SECRETCISCOSPARK_REDIRECT_URICISCOSPARK_SCOPE
Alternatively, you can use use ciscospark.init() to set those values at runtime. See Environment Setup (below) and the (ciscospark)[packages/ciscospark/README.md] README for more info on those values.
The Ciscospark Legacy SDK makes up the core of our web client. As its functionality gets further modularized, it will be replaced by the plugins that make up Ciscospark.
See the internal GitHub Enterprise Wiki Page for more information on the legacy SDK
See CONTRIBUTING.md