data.device.statistics
Operation: GET /dataservice/data/device/statistics
@overload
def get() -> Any: ...
Example:
from catalyswan.core import create_client
url = "example.com"
username = "admin"
password = "password123"
with create_client(
url=url, username=username, password=password
) as client:
client.data.device.statistics.get()
Operation: GET /dataservice/data/device/statistics/{state_data_type}
@overload
def get(
state_data_type: str,
scroll_id: Optional[str] = None,
start_date: Optional[str] = None,
end_date: Optional[str] = None,
count: Optional[int] = None,
time_zone: Optional[str] = None,
) -> List[Any]: ...
Example:
from catalyswan.core import create_client
url = "example.com"
username = "admin"
password = "password123"
with create_client(
url=url, username=username, password=password
) as client:
client.data.device.statistics.get()