Overview

Welcome to the SportBuff SDK documentation! This page will introduce you to the SportBuff SDK setup, features, and configuration options.

Getting Started

SportBuff SDK supports multiple video and media players and is compatible with the following browsers:

Browser Version
Chrome 79+
Edge 91+
Firefox 88+
Opera 75+
Safari 13.1+

This gives us a browser compatibility (based on the browserslist standard) of > 0.2%.

Integration Steps

To integrate our SDK into your platform, follow these three basic steps:

  1. Backend to Backend Authentication - Obtain a token from our backend, which will be used as an initialization parameter for the SDK. This part can be skipped if you don’t require SportBuff user login.
  2. Loading the SDK - Add the CDN URL to your site.
  3. Initialize the SDK - Initialize the SDK on the page where you plan to display Buffs.
  4. Access the Dashboard - Request access to your dashboard to start using SportBuff.

Backend to Backend Authentication

To enable backend-to-backend authentication, obtain a token from our backend and pass it to the SDK. See the Authentication Documentation for more details.

If you don’t provide a token, users can log in using the SportBuff login option.


Loading the SDK

Add the CDN URL in your site's <head> section:

<head>
  <script src="%CDN_URL%" defer></script>
</head>