1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
# Webmin XML-RPC python package
This package provides a python interface to interact with the Webmin XML-RPC API.
## Usage
```python
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()
```
## Exposed data
- Load (1m, 5m, 15m)
- Network interfaces
- Memory information
- Uptime
- Local disk space information
|