Widget Library Documentation

1. Tutorials

1.1 Introduction to the widget library

1.2 Setting up your first football widget

  • Initializing the SDK connection
  • Configuring widget attributes
  • Implementing the single event widget

1.3 Setting up your first basketball widget

  • Initializing the SDK connection
  • Configuring widget attributes
  • Implementing the single event widget and livescore widget

1.4 Setting up your first tennis widget

  • Initializing the SDK connection
  • Configuring widget attributes
  • Implementing the single event widget and livescore widget

2. How-To Guides

2.1 How to configure the SDK options

2.2 How to customize widget attributes

  • Global configuration
  • Sport-specific configuration

2.3 How to implement callback functions

  • Subscribing to events
  • Refreshing widgets

2.4 How to integrate multiple widgets for a sport

  • Combining the football widgets
  • Combining the basketball widgets
  • Combining the tennis widgets

3. Explanation

3.1 Understanding the sports SDK and its role

3.2 Overview of supported sports

  • Football
  • Basketball
  • Tennis

3.3 Widget types and their functionalities

  • Single event widget
  • Livescore widget
  • Standings widget
  • Knockout widget (football only)
  • Standings widget with playoff integration (basketball only)

3.4 Widget attribute configurations and their effects

3.5 Callback functions and their use cases

4. Reference

4.1 Complete list of SDK options

4.2 Complete list of widget attributes and accepted values

4.3 Supported callback functions and their expected parameters