10.4.5. Utilities for all API Clients

pytan3.api_clients.get_version(http_client)[source]

Get serverVersion key from get_config().

Parameters:http_client (pytan3.http_client.HttpClient) – Object for sending HTTP request.
Raises:exceptions.GetPlatformVersionWarning – On error getting serverVersion key.
Returns:str
pytan3.api_clients.get_wsdl(http_client)[source]

Get response of GET to /libraries/taniumjs/console.wsdl.

Parameters:http_client (pytan3.http_client.HttpClient) – Object for sending HTTP request.
Returns:str
pytan3.api_clients.get_config(http_client, cause='')[source]

Get response of GET to /config/console.json.

Parameters:http_client (pytan3.http_client.HttpClient) – Object for sending HTTP request.
Returns:dict