Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Please note that in the UAT environment, most streams are automatically booked for you by default. This means you do not need to make any bookings through the UAT Data Services console for regular non-DRM and DRM continuous fixtures. However, for Betvision fixtures, you should still book the NFL GSIS Replay Manager events using the UAT console at https://dataservices.uat.betgenius.com.

To retrieve booked fixtures from the VideoAPI UAT environment, use this endpoint:

...

https://api.geniussports.com/Video-v3/UAT/fixtures/XXXXXXXXXX


Booking the streams in Production

...

  1. Call the Video API: Begin by requesting the schedule list of all games that offer streaming.

  2. 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.

  3. 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/PROD/fixtures?bookingStatus=BOOKED

    This section provides the FixtureId, LiveStreamId, and DeliveryId. 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/PROD/fixtures/XXXXXXXXXX

    To obtain the stream URL for a selected fixture, make an additional API call, replacing the placeholders for FixtureId, LiveStreamId, and DeliveryId with the appropriate values. Use the following example endpoint:

    https://api.geniussports.com/Video-v3/UATPROD/fixtures/{FixtureId}/live-streams/{LiveStreamId}/deliveries/hls/{deliveryid}

    This exemplifies the expected output format:

    https://api.geniussports.com/Video-v3/UAT/fixtures/18964100/live-streams/7cae4fd9/deliveries/hls/Akamai

     

    Note: Remember that the streaming protocol might be HLS or DASH; adjust the endpoint accordingly.

...