optimizely-node-client
v0.6.3
Published
Optimizely Client for Node
Downloads
40
Readme
#Optimizely Node Client
Access the Optimizely REST API via javascript
Installation
$ npm install optimizely-node-client
Usage
var OptimizelyClient = require('optimizely-node-client');
var API_TOKEN = "*";//Get token from www.optimizely.com/tokens
var oc = new OptimizelyClient(API_TOKEN);
// OAuth2 token
var OptimizelyClient = require('optimizely-node-client');
var API_TOKEN = "*";//Get token from www.optimizely.com/tokens
var oc = new OptimizelyClient(API_TOKEN, { OAuth2: true });
Example
oc.createProject({/*...project properties*/})
Contributing
Please see contributing.md.
Copyright and license
Code copyright 2015 Celerius Group Inc. Released under the Apache 2.0 License.