RapidAPI logo

Sign Up

Log In

GooglePrediction

FREE
By stefan.skliarov
Updated 4 months ago
Machine Learning
1/10
Popularity Score
402ms
Latency
100%
Success Rate

GooglePrediction API Documentation

Build and train cloud-based machine learning models.

View API Details
POSTaddDataToModel
POSTcheckModelTrainingStatus
POSTdeleteModel
POSTgetAccessToken
POSTgetModelAnalysisResult
POSTgetModels
POSTgetTrainedModelsPrediction
POSTpredictWithHostedModel
POSTrefreshAccessToken
POSTrevokeAccessToken
POSTtrainModel
POSTaddDataToModel

Add new data to a trained model.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
csvInstanceLIST
REQUIREDA list of input features, these can be strings or doubles.
projectIdSTRING
REQUIREDId of the project
modelIdSTRING
REQUIREDId of the model.
outputSTRING
REQUIREDThe generic output value - could be regression or class label.
accessTokenSTRING
REQUIREDApi key obtained from Google
Request Snippet
unirest.post("https://GooglePredictionstefan-skliarovV1.p.rapidapi.com/addDataToModel")
.header("X-RapidAPI-Host", "GooglePredictionstefan-skliarovV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://GooglePredictionstefan-skliarovV1.p.rapidapi.com/addDataToModel")
.header("X-RapidAPI-Host", "GooglePredictionstefan-skliarovV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication