trendminer.sdk.context.context module¶
This module provides user-facing API’s for interacting with Context Module.
- class trendminer.sdk.context.context.ContextAPI¶
Bases:
ABC
Router for Context based API’s
- field() ContextFieldAPI ¶
Property representing a ContextField API.
- Returns:
An instance of the ContextFieldAPI
- Return type:
Example
# Retrieve context field API field_api = client.context.field
- filter() ContextFilterAPI ¶
Property representing a ContextFilter API.
- Returns:
An instance of the ContextFilterAPI
- Return type:
Example
# Retrieve context filter API filter_api = client.context.filter
- item() ContextItemAPI ¶
Property representing a ContextItem API.
- Returns:
An instance of the ContextItemAPI
- Return type:
Example
# Retrieve context item API item_api = client.context.item
- type() ContextTypeAPI ¶
Property representing a ContextType API.
- Returns:
An instance of the ContextTypeAPI
- Return type:
Example
# Retrieve context type API type_api = client.context.type
- abstract property view: ContextHubViewAPI¶
Property representing a ContextHubView API.
- Returns:
An instance of the ContextHubViewAPI
- Return type:
Example
# Retrieve Contexthub view API view_api = client.context.view
- workflow() ContextWorkflowAPI ¶
Property representing a ContextWorkflow API.
- Returns:
An instance of the ContextWorkflowAPI
- Return type:
Example
# Retrieve context workflow API instance workflow_api = client.context.workflow