Skip to content

FunnelEnvy/optimizely-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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.