Compare commits

...

2 Commits

Author SHA1 Message Date
78f9fc7f53 add entry point docstring 2026-04-01 12:28:05 +01:00
f75cb98d67 add v2.0.0 to CHANGELOG 2026-04-01 12:25:01 +01:00
2 changed files with 12 additions and 2 deletions

View File

@@ -8,7 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
The following changes are proposals for v2.
- [x]
## [2.0.0] - 2026-04-01
### Added
@@ -28,7 +30,6 @@ The following changes are proposals for v2.
- loguru is now used for logging. See the examples for a demonstration.
## [1.1.2] - 2024-11-06
### Fixed

View File

@@ -94,4 +94,13 @@ class 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)