Copyright © ThroughPuter, Inc. Patents issued and pending. All rights reserved.
JavaScript Library functions for using the ThroughPuter, Inc. Estimator microservice.
Two JavaScript APIs are provided to communicate with the Estimator microservice WebSocket. It is also possible to use the WebSocket API directly in any programming languages. These APIs are specified in the accompanying EstimatorAPI.md, and summarized below.
The file estimator.js can be used for direct access to the Estimator microservice.
The file prediction.js utilizes estimator.js to provide a simpler API for using the Estimator in a mode where the input variables are values from a history.
Your Estimator microservice(s) are controlled via your Estimator Dashboard. You're application must be connects to a microservice via a WebSocket. The URL for this WebSocket contains a access key that you can obtain via your Estimator Dashboard. The WebSocket URL containing your access key is a parameter of the Estimator and Promonition JavaScript classes.
Demo applications are available to demonstrate the use of these libraries.