mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-16 14:43:24 +00:00
19 lines
271 B
Markdown
19 lines
271 B
Markdown
|
# XAP python3 bindings
|
||
|
|
||
|
## Example
|
||
|
```python
|
||
|
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())
|
||
|
```
|
||
|
|
||
|
## API
|
||
|
|
||
|
TODO
|