mirror of
https://github.com/onyx-and-iris/streamlabs-socketio-py
synced 2026-04-18 10:13:31 +00:00
Compare commits
2 Commits
d6a26fda34
...
78f9fc7f53
| Author | SHA1 | Date | |
|---|---|---|---|
| 78f9fc7f53 | |||
| f75cb98d67 |
@@ -8,7 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
The following changes are proposals for v2.
|
- [x]
|
||||||
|
|
||||||
|
## [2.0.0] - 2026-04-01
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
@@ -28,7 +30,6 @@ The following changes are proposals for v2.
|
|||||||
|
|
||||||
- loguru is now used for logging. See the examples for a demonstration.
|
- loguru is now used for logging. See the examples for a demonstration.
|
||||||
|
|
||||||
|
|
||||||
## [1.1.2] - 2024-11-06
|
## [1.1.2] - 2024-11-06
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -94,4 +94,13 @@ class Client:
|
|||||||
|
|
||||||
|
|
||||||
def request_client_object(*, token: str, raw: bool = False) -> Client:
|
def request_client_object(*, token: str, raw: bool = False) -> Client:
|
||||||
|
"""Entry point for users to request a Client object.
|
||||||
|
|
||||||
|
Args:
|
||||||
|
token (str): The authentication token for the Streamlabs Socket API.
|
||||||
|
raw (bool, optional): If True, the client will return raw event data. Defaults to False.
|
||||||
|
|
||||||
|
Returns:
|
||||||
|
Client: An instance of the Client class.
|
||||||
|
"""
|
||||||
return Client(token=token, raw=raw)
|
return Client(token=token, raw=raw)
|
||||||
|
|||||||
Reference in New Issue
Block a user