This package provides a python interface to interact with the Webmin XML-RPC API.
from aiohttp.client import ClientSession
from webmin_xmlrpc.client import WebminInstance
from yarl import URL
base_url = URL.build(host="example.com", scheme="https")
session = Clientsession(base_url)
instance = WebminInstance(session)
async def get_data():
data = await instance.update()
- Load (1m, 5m, 15m)
- Network interfaces
- Memory information
- Uptime
- Local disk space information