stream.device.speed

Operation: GET /dataservice/stream/device/speed/{sessionId}

def get(
    session_id: Uuid, log_id: Optional[int] = 0
) -> SpeedTestResultResponse: ...

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.stream.device.speed.get()

Operation: POST /dataservice/stream/device/speed

@overload
def post(payload: SpeedTestSession) -> SpeedTestResponse: ...

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.stream.device.speed.post()

Operation: POST /dataservice/stream/device/speed/{deviceUUID}/{sessionId}

@overload
def post(
    payload: SpeedTestResult, device_uuid: str, session_id: Uuid
) -> SpeedTestStatusResponse: ...

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.stream.device.speed.post()