Global

Methods

predictionio(app_key, options) → {Object}

JavaScript library for interacting with the PredictionIO API. Returns a PredictionIO API client object for an app.
Parameters:
Name Type Description
app_key string The app key for the PredictionIO application.
options Object Key-value pairs for options. Currently only supports the 'host' key (the address of the API server). Default for 'host' is 'http://localhost:8000/'.
Source:
Returns:
client - Client object that can be used to interact with the API server.
Type
Object