npm install --save ciscospark
See the docs site for more examples.
const assert = ;;const ciscospark = ;ciscosparkrooms;
We do not provide a prebuilt version of
If you've already got a commonjs or es6 build process in place, you can simply use
const ciscospark = require('ciscospark').
If you need to load
ciscospark via a script tag, you'll need to build it:
npm install ciscosparknpm install -g browserifyecho "window.ciscospark = require(`ciscospark`)" > ./index.jsbrowserify index.js > bundle.js
In either case above, you must set the following environment variables
In browser usage is pretty much the same as node usage, with the addition of handling the login flow for you. See the docs site for more details.
Full API docs are published at the docs site.
Pull requests welcome. Please see CONTRIBUTING.md for more details.
© 2016-2017 Cisco and/or its affiliates. All Rights Reserved.