Use the SDK to upload your dataset and run predictions

Install

pip install innocuous-sdk

Import package

from innocuous_sdk.endpoint import Endpoint

Login

Use user_name and user_token to login, and start to use the following methods

endpoint = Endpoint('<user_name>', '<user_token>')

Methods

List all running endpoints

.list_endpoint()

Result: List

Example:

endpoint_list = endpoint.list_endpoint()

Get endpoint id by name

.get_endpoint_id()

Argument Type
Endpoint Name String

Example:

endpoint_id = endpoint.get_endpoint_id('<my-endpoint-name>')

Get endpoint information