mpath-client

Client for mPath Learning API

npm install mpath-client
46 downloads in the last month

MPath API - The Node.JS Client

Installation

npm install mpath-client

Usage

mpath = require("mpath-client").init("http://api.conductrics.net/")

Quick Start

To understand what all the options are, please see the Quick Start Guide.

The driver is a simple REST client.

Client Methods

  1. getDecisions(apikey, sessionCode, ownerCode, agentCode, pointCode, callback)
  2. sendReward(apikey, sessionCode, ownerCode, agentCode, goalCode, callback)
  3. expireSession(apikey, sessionCode, ownerCode, callback)
  4. createAgent(apikey, ownerCode, agentCode, agentJson, callback)
  5. createApiKey(email, ownerCode, callback)
npm loves you