Skip to content

Samples for DataRobot prediction API in various languages

License

Notifications You must be signed in to change notification settings

datarobot-community/prediction-api-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Please note: The code in these repos is sourced from the DataRobot user community and is not owned or maintained by DataRobot, Inc. You may need to make edits or updates for this code to function properly in your environment.

DataRobot Prediction API Samples

Samples of DataRobot prediction API calls in various programming languages, to help you get started using our APIs.

To run you will require access to DataRobot application.

Setup

Before running any scripts you MUST create and populate your environment variable. Each language specific script will look for it in common/.env.

  1. Create a file common/.env
  2. Populate the file with the following:
PREDICTION_SERVER=YOUR_PREDICTION_SERVER_ENDPOINT
DEPLOYMENT_ID=YOUR_DEPLOYMENT_ID
DATAROBOT_KEY=YOUR_DATAROBOT_KEY
API_KEY=YOUR_API_KEY

You can find these in deployments / integrations tab in your DataRobot application.

Usage

This repository contains language-specific examples in python, node, ruby, go, and java directories. Common data is in common directory.

Follow the steps in Setup, and in each language specific directory's README file.

Development and Contributing

If you'd like to report an issue or bug, suggest improvements, or contribute code to this project, please refer to CONTRIBUTING.md.

Code of Conduct

This project has adopted the Contributor Covenant for its Code of Conduct. See CODE_OF_CONDUCT.md to read it in full.

License

Licensed under the Apache License 2.0. See LICENSE to read it in full.

About

Samples for DataRobot prediction API in various languages

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published