mpath-client
v0.0.10
Published
Client for mPath Learning API
Downloads
3
Readme
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
- getDecisions(apikey, sessionCode, ownerCode, agentCode, pointCode, callback)
- sendReward(apikey, sessionCode, ownerCode, agentCode, goalCode, callback)
- expireSession(apikey, sessionCode, ownerCode, callback)
- createAgent(apikey, ownerCode, agentCode, agentJson, callback)
- createApiKey(email, ownerCode, callback)