mpath-client

0.0.10 • Public • Published

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)

/mpath-client/

    Package Sidebar

    Install

    npm i mpath-client

    Weekly Downloads

    4

    Version

    0.0.10

    License

    none

    Last publish

    Collaborators

    • jldailey