upd import in readme

This commit is contained in:
onyx-and-iris 2022-07-26 22:25:31 +01:00
parent 0819149d09
commit 0819bb4342

View File

@ -39,10 +39,10 @@ Otherwise:
Example `__main__.py` Example `__main__.py`
```python ```python
from obsstudio_sdk.reqs import ReqClient import obsstudio_sdk as obs
# pass conn info if not in config.toml # pass conn info if not in config.toml
cl = ReqClient('localhost', 4455, 'mystrongpass') cl = obs.ReqClient('localhost', 4455, 'mystrongpass')
# Toggle the mute state of your Mic input # Toggle the mute state of your Mic input
cl.toggle_input_mute('Mic/Aux') cl.toggle_input_mute('Mic/Aux')