|
|
3 years ago | |
|---|---|---|
| .. | ||
| __init__.py | 819bf2eff8 Tidy up code/docstrings | 4 years ago |
| client.py | 1dbb4c0f96 stash | 3 years ago |
| device.py | 76a45a4e24 Stub out nested routes | 3 years ago |
| readme.md | 819bf2eff8 Tidy up code/docstrings | 4 years ago |
| routes.py | 1dbb4c0f96 stash | 3 years ago |
| types.py | 1dbb4c0f96 stash | 3 years ago |
from xap_client import XAPClient
# List Available Devices
devices = XAPClient.devices()
selected = devices[0]
# Connect then run commands
with XAPClient().connect(selected) as dev:
print(dev.version())
TODO