Client for the Conductrics API (

npm install conductrics-api
8 downloads in the last month

Conductrics API


npm install conductrics-api


Conductrics = require("conductrics-api")
agent = new Conductrics.Agent("my-agent-name")

# 1. Make decisions.
agent.decide sessionId, [ 'a', 'b', 'c'] , (err, decision) ->
  assert decision in [ 'a', 'b', 'c' ]

# 2. Send rewards.
agent.reward sessionId, 1.2, (err, result) ->
  assert result is 1.2

# 3. Profit (literally)

Please see the full documentation, for more information on everything you can do with the Conductrics API.

npm loves you