Login

The Python Wrapper automatically authenticates on instantiation of the InsightMaker object.

InsightMaker.__init__(user=None, key=None, host=None)

Parameters:

NameTypeDescription

user

string

Optional – AD username, if not provided the system username will be used.

key

string

Optional - DS API Key or key file path, if not provided, will search for ds.key in the local directory.

host

string

Optional - IM host server, string or dictionary with "host" (and optionally "port" and "headers") values. If not provided, defaults to localhost:80.

https

boolean

Optional – Flag for if using https, without specifically specifying in the host string.

Example:

im = InsightMaker(host="insightmakerserver01", user="jlawton", key="config/key.ds")

Last updated