LivesService
A list of all methods in the LivesService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_lives | List currently running live matches, available from pandascore with live websocket data. |
get_lives
List currently running live matches, available from pandascore with live websocket data.
- HTTP Method:
GET
- Endpoint:
/lives
Parameters
Name | Type | Required | Description |
---|---|---|---|
page | Page | ❌ | Pagination in the form of page=2 or page[size]=30&page[number]=2 |
per_page | int | ❌ | Equivalent to page[size] |
Return Type
List[Live]
Example Usage Code Snippet
from pandascore_client import PandascoreClient, Environment
sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
page=1
result = sdk.lives.get_lives(
page=page,
per_page=50
)
print(result)
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs