TrendMinerClient
trendminer_interface._client.TrendMinerClient
Handles authentication to, and interaction with the TrendMiner appliance.
This class is the sole entry point for users of this library. It provides access to the retrieval and instantiation of all other objects, and handles authentication and session management.
Attributes:
| Name | Type | Description |
|---|---|---|
tz |
ZoneInfo
|
Client timezone. All time outputs given in client timezone. All inputs without explicit timezone are considered to be in the client timezone. |
session |
Client
|
Session object for making requests to the TrendMiner appliance. This session is shared across all objects created by this client, and handles authentication. |
SUPPORTED_VERSIONS
class-attribute
instance-attribute
SUPPORTED_VERSIONS: tuple[str, ...] = (
"2026.R1.0",
"2026.R2.0",
)
session
instance-attribute
session: Client = session
tz
instance-attribute
tz: ZoneInfo = tz
url
property
url: str
Base URL of the TrendMiner appliance
asset_framework
property
asset_framework: AssetFrameworkFacade
Facade to interact with the asset framework
tag_builder
property
tag_builder: TagBuilderFacade
Facade to build tags without instantiating them first