Javascript client to access the SpinPapi service from a node.js server