sportsbet_sports_classes
Retrieve sport classes and their competitions for a given date window, enabling event discovery across sports.
Instructions
Sport classes (sports) with their competitions for a date window.
Returns: {classList:[{classId, className, classDisplayOrder}]}
Example: Sports with events in the next 24 hours {"fromDate": "T10:00:00", "toDate": "<today+1>T10:00:59"}
Auth: none needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toDate | Yes | Window end — naive datetime YYYY-MM-DDTHH:MM:SS (a bare date is rejected with HTTP 400). | |
| fromDate | Yes | Window start — naive datetime YYYY-MM-DDTHH:MM:SS (a bare date is rejected with HTTP 400). | |
| includeLiveEvents | No | Include events currently in-play. | |
| excludeNonLiveEvents | No | Return only in-play events. |