#Getting started
The SDK relies on Node Package Manager (NPM) being available to resolve dependencies.
Once published you will need copy the folder broscriptlib
in to your node_modules
folder.
The following shows how import and use the controller:
-
Import the module:
var broscriptlib = require('broscriptlib');
-
Configure any authentication parameters. For example:
var config = broscriptlib.configuration; config.apikey = a_secret_key;
-
Access various controllers by:
var controller = broscriptlib.XYZ; controller.getItems(id, callback);