Login

The DS API wrapper automatically authenticates on instantiation of the AiimiInsightEngine object.

AiimiInsightEngine. __init__(user=None, key=None, host=None, https=False, verify=True) 
Name
Type
Description

user

string

The username associated with the DS API key – if not provided, the system username will be used.

key

string

Either the API key directly, or a path to a file containing it, if not provided API key will be searched for in .\ds.key

host

string

The URL to the Aiimi Insight Engine host (webserver), defaults to localhost:80

https

boolean

Flag if to connect using HTTPS or not, if not provided, will attempt to determine from the host string.

verify

boolean

Flag to verify HTTPS requests, defaults to True

Example

aie = AiimiInsightEngine(host="AIEserver01", user="jlawton", key="config/key.ds") 

Last updated