Client for mPath Learning API
npm install mpath-client
mpath = require("mpath-client").init("http://api.conductrics.net/")
To understand what all the options are, please see the Quick Start Guide.
The driver is a simple REST client.
- 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)