...
can be used to get live streaming parameters for HLS or DASH for a given GeniusSports fixture. The {id}
, {streamId}
, and {deliveryId}
correspond to the fixture, live-stream and delivery ID provided by the Fixture object in any of the /fixtures
endpoints.
...
Genius Live Player
The Genius Live Player is our easy-integration feature designed to get customers live sports video content up and running quickly and with minimal friction. Using our fixture id, the Genius Live Player allows to load any stream that Genius Sports provides, on any device with all DRM and security needs from a streaming player side is taken care of. Customers can find the full user manual for Genius Live Player below.
...
The regions set is a list, but the list has two types of entries. Some entries are only the country code and other entries are the country and state/province code.
View file | ||
---|---|---|
|
Info |
---|
All countries in the world are unique regions while United States and Canada would have regions by states/provinces due to the betting regulations being different across them. |
...
Call the Video API: Begin by requesting the schedule list of all games that offer streaming.
Access the Booking Console: Navigate to the booking console (in the Production environment: https://dataservices.betgenius.com) and select the games you wish to book.
Retrieve the Streaming URL: Finally, call the API again to obtain the streaming URL. Please note that this URL will only be provided for fixtures that have been booked through the console. Attempting to request a URL for a game that has not been booked will result in an error.
To retrieve booked fixtures from the VideoAPI PROD environment, use this endpoint:https://api.geniussports.com/Video-v3/PRODPRM/fixtures?bookingStatus=BOOKED
This section provides the
FixtureId
,LiveStreamId
, andDeliveryId
. Make sure the Fixture is in either the "Prematch" or "Inplay" stage.The endpoint above lists all your booked fixtures. You can find all relevant information from there, or use the Fixture by Id endpoint to search for a specific fixture:
https://api.geniussports.com/Video-v3/PRODPRM/fixtures/XXXXXXXXXX
To obtain the stream URL for a selected fixture, make an additional API call, replacing the placeholders forFixtureId
,LiveStreamId
, andDeliveryId
with the appropriate values. Use the following example endpoint:https://api.geniussports.com/Video-v3/PRODPRM/fixtures/{FixtureId}/live-streams/{LiveStreamId}/deliveries/hls/{deliveryid}
This exemplifies the expected output format:
https://api.geniussports.com/Video-v3/fixtures/18964100/live-streams/7cae4fd9/deliveries/hls/AkamaiNote: Remember that the streaming protocol might be HLS or DASH; adjust the endpoint accordingly.
You can find more detailed information on how to book the streams in the Streaming Booking Guide attached here:
View file | ||
---|---|---|
|
...