mirror of
https://github.com/onyx-and-iris/streamlabs-socketio-py
synced 2026-04-07 13:43:30 +00:00
v2 proposal. See CHANGELOG unreleased.
This commit is contained in:
19
examples/events/README.md
Normal file
19
examples/events/README.md
Normal file
@@ -0,0 +1,19 @@
|
||||
## About
|
||||
|
||||
To view the logs emitted by the streamlabsio library simply add the following to your code:
|
||||
|
||||
```python
|
||||
from loguru import logger
|
||||
|
||||
logger.enable('streamlabsio')
|
||||
```
|
||||
|
||||
## Configure
|
||||
|
||||
The script expects the Streamlabs token to be loaded into the environment with key `STREAMLABS_TOKEN`.
|
||||
|
||||
If you're running the script with `poetry poe` then poe is configured to load a `.env` file in the root of the repository.
|
||||
|
||||
## Use
|
||||
|
||||
Run the script and trigger any of the events with `Test Widgets` in the Streamlabs GUI.
|
||||
Reference in New Issue
Block a user