Installation

This guide helps you install the required tools, clone the official SDK project, and open it in Visual Studio Code (VS Code) for development.

Prerequisites

Before you begin, make sure you have the following installed and set up:

  • You have a GitHub account to access the official repository and releases.

  • .NET SDK

    • Version: .NET 9.0 or higher recommended

    • Verify installation:

      dotnet --version
  • Code Editor

1

Download the SDK Release

Download OddsFeedSDKCore_3.6.0.tar.gz from the Releases asset page. This was the latest version at the time of writing. Ensure you always download the most recent release.

2

Extract the Package

Unpack the downloaded .tar.gz file to a folder of your choice. This will give you access to the SDK files you need for setup.

3

Open in VS Code

  • Open the cloned folder in VS Code.

  • Install the C# Dev Kit extension from the VS Code Marketplace.

    • This ensures proper support for .sln (solution) files.

4

Explore the SDK

  • In VS Code, open the Solution Explorer.

  • Expand the Sportradar.OddsFeed.SDK folder to browse the project structure and codebase.

  • Find and open the App.config file. Inside, you’ll see a configuration section like this:

<uofSdkSection 
    accessToken="" 
    defaultLanguage="en" 
    nodeId="1" 
    environment="GlobalIntegration" />

Configuration Details

Atrribute
Required
Description

accessToken

Yes

Used for authenticating with the broker and the Sports API.

defaultLanguage

Yes

Defines the primary language for SDK data (e.g., en).

nodeId

Yes

Specifies the node identifier for this SDK instance.

environment

Optional

Indicates which Unified Feed environment the SDK connects to. Accepted values come from the SdkEnvironment enum. If not set, the default is Integration.

Environment Values

  • GlobalIntegration – for testing and development

  • GlobalProduction – for live production environments

Last updated

Was this helpful?