Code Monkey home page Code Monkey logo

spark-js-sdk's Introduction

Cisco Spark JavaScript SDKs

Ciscospark

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 ciscospark

Building

At 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.js

For production builds, change npm run build to NODE_ENV=production npm run build.

Note that when when building for the browser, you'll need define

  • CISCOSPARK_ACCESS_TOKEN or
  • CISCOSPARK_CLIENT_ID
  • CISCOSPARK_CLIENT_SECRET
  • CISCOSPARK_REDIRECT_URI
  • CISCOSPARK_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.

Legacy SDK

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

Contributing

See CONTRIBUTING.md

spark-js-sdk's People

Contributors

ianwremmel avatar mattnorris avatar nickclar avatar arun3528 avatar tran2 avatar adamweeks avatar josh-dykstra avatar glhewett avatar aimeex3 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.