#Getting started
The SDK relies on Node Package Manager (NPM) being available to resolve dependencies.
npm i broscript
The following shows how import and use the controller:
-
Import the module:
var broscript= require('broscript');
-
Configure any authentication parameters. For example:
broscript.config.userKey = user_key; broscript.config.scriptKey = script_key;
-
Use methods:
broscript.api.answers(...); broscript.api.templates(...); //...