vnStat

async OPNsenseClient.get_vnstat_metrics(period)

Return parsed vnStat rows for the requested period endpoint.

Parameters:

period (str) – Requested vnStat period identifier.

Returns:

Normalized data returned by the related OPNsense endpoint.

Return type:

dict[str, Any]

async OPNsenseClient.get_vnstat()

Collect vnStat hourly, daily, and monthly usage data.

Returns:

Normalized data returned by the related OPNsense endpoint.

Return type:

MutableMapping[str, Any]