Skip to content

Commit 4b8bce4

Browse files
committed
v3.1.0
1 parent 58e0009 commit 4b8bce4

File tree

743 files changed

+13483
-3166
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

743 files changed

+13483
-3166
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Change Log
22

3+
## 2025-03-11 3.1.0
4+
- Updated OpenTelemetry dependent libraries to the latest versions (removed security vulnerability)
5+
36
## 2025-02-11 3.0.0 (breaking change)
47
- ExceptionHandlingStrategy default value is changed to Throw (before Catch).
58
- Code is cleaned up. Outdated classes are removed. Affected classes are - SoccerEvent, SoccerStatistics, SoccerStatus.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ The SDK uses the following 3rd party libraries:
1818
- Microsoft.Extensions.Diagnostics.HealthChecks 9.0.1
1919
- Microsoft.Extensions.Http 9.0.1
2020
- System.Configuration.ConfigurationManager 9.0.1
21-
- OpenTelemetry 1.11.1
22-
- OpenTelemetry.Extensions.Hosting 1.11.1
23-
- OpenTelemetry.Instrumentation.Runtime 1.10.0
24-
- OpenTelemetry.Exporter.OpenTelemetryProtocol 1.11.1
21+
- OpenTelemetry 1.11.2
22+
- OpenTelemetry.Extensions.Hosting 1.11.2
23+
- OpenTelemetry.Instrumentation.Runtime 1.11.1
24+
- OpenTelemetry.Exporter.OpenTelemetryProtocol 1.11.2
2525

2626
The package contains:
2727
- DemoProject: solution containing a demo project showing the basic usage of the SDK

docs/docs/class-configuration.html

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>UofConfiguration | Sportradar.OddsFeed.SDK </title>
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<meta name="title" content="UofConfiguration | Sportradar.OddsFeed.SDK ">
8+
9+
10+
<link rel="icon" href="../images/favicon.ico">
11+
<link rel="stylesheet" href="../public/docfx.min.css">
12+
<link rel="stylesheet" href="../public/main.css">
13+
<meta name="docfx:navrel" content="../toc.html">
14+
<meta name="docfx:tocrel" content="toc.html">
15+
16+
<meta name="docfx:rel" content="../">
17+
18+
19+
20+
<meta name="loc:inThisArticle" content="In this article">
21+
<meta name="loc:searchResultsCount" content="{count} results for &quot;{query}&quot;">
22+
<meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
23+
<meta name="loc:tocFilter" content="Filter by title">
24+
<meta name="loc:nextArticle" content="Next">
25+
<meta name="loc:prevArticle" content="Previous">
26+
<meta name="loc:themeLight" content="Light">
27+
<meta name="loc:themeDark" content="Dark">
28+
<meta name="loc:themeAuto" content="Auto">
29+
<meta name="loc:changeTheme" content="Change theme">
30+
<meta name="loc:copy" content="Copy">
31+
<meta name="loc:downloadPdf" content="Download PDF">
32+
33+
<script type="module" src="./../public/docfx.min.js"></script>
34+
35+
<script>
36+
const theme = localStorage.getItem('theme') || 'auto'
37+
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
38+
</script>
39+
40+
</head>
41+
42+
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="">
43+
<header class="bg-body border-bottom">
44+
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
45+
<div class="container-xxl flex-nowrap">
46+
<a class="navbar-brand" href="../index.html">
47+
<img id="logo" class="svg" src="../images/uf-ns-h60.png" alt="Sportradar.OddsFeed.SDK">
48+
Sportradar.OddsFeed.SDK
49+
</a>
50+
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
51+
<i class="bi bi-three-dots"></i>
52+
</button>
53+
<div class="collapse navbar-collapse" id="navpanel">
54+
<div id="navbar">
55+
<form class="search" role="search" id="search">
56+
<i class="bi bi-search"></i>
57+
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
58+
</form>
59+
</div>
60+
</div>
61+
</div>
62+
</nav>
63+
</header>
64+
65+
<main class="container-xxl">
66+
<div class="toc-offcanvas">
67+
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
68+
<div class="offcanvas-header">
69+
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
70+
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
71+
</div>
72+
<div class="offcanvas-body">
73+
<nav class="toc" id="toc"></nav>
74+
</div>
75+
</div>
76+
</div>
77+
78+
<div class="content">
79+
<div class="actionbar">
80+
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
81+
<i class="bi bi-list"></i>
82+
</button>
83+
84+
<nav id="breadcrumb"></nav>
85+
</div>
86+
87+
<article data-uid="">
88+
<h1 id="uofconfiguration">UofConfiguration</h1>
89+
90+
<p>Before the SDK can connect to the feed and starts processing messages it has to be properly configured. The configuration must contain various information from the access token used to authenticate
91+
with the feed to various user preferences like default language, supported languages, etc.</p>
92+
<p>The configuration uses a builder pattern enabling the user to set mandatory values while allowing them to skip optional ones. Various builders are used to create different configurations which target
93+
different environments:</p>
94+
<ul>
95+
<li>Staging &amp; Production environment: configuration for both staging and production environments is built using the IConfigurationBuilder.</li>
96+
<li>Replay server: configuration for the replay server is built using the IReplayConfigurationBuilder.</li>
97+
<li>Non-sportradar environment: Sometimes (especially for testing) it can be useful to connect to a locally hosted server. Configuration for the custom environment can be built using
98+
ICustomConfigurationBuilder.</li>
99+
</ul>
100+
<p>Refer to <a href="configuration.html">Sdk configuration</a> for more information.</p>
101+
<p>The SDK supports both in-code and file-based (external) configurations. The config file-based configuration should be used in most cases because it improves code readability.</p>
102+
<h3 id="interface-structure-for-configuration">Interface structure for configuration</h3>
103+
<p>The following links will lead you to the respective class articles. Each article has three sections consisting of a class/interface description, method summary, and methods details.</p>
104+
<ul>
105+
<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Api.Config.IUofConfiguration.html">IUofConfiguration</a>
106+
<ul>
107+
<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Entities.Rest.IBookmakerDetails.html">IBookmakerDetails</a></li>
108+
<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Api.Config.IUofApiConfiguration.html">IUofApiConfiguration</a></li>
109+
<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Api.Config.IUofRabbitConfiguration.html">IUofRabbitConfiguration</a></li>
110+
<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Api.Config.IUofProducerConfiguration.html">IUofProducerConfiguration</a></li>
111+
<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Api.Config.IUofCacheConfiguration.html">IUofCacheConfiguration</a></li>
112+
<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Api.Config.IUofAdditionalConfiguration.html">IUofAdditionalConfiguration</a></li>
113+
<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Api.Config.IUofUsageConfiguration.html">IUofUsageConfiguration</a></li>
114+
</ul>
115+
</li>
116+
</ul>
117+
<h3 id="iuofconfiguration-diagram">IUofConfiguration Diagram</h3>
118+
<p><img src="../media/diagrams/UofConfigurationDiagram.png" alt="IOutcome hierarchy"></p>
119+
120+
</article>
121+
122+
<div class="contribution d-print-none">
123+
</div>
124+
125+
<div class="next-article d-print-none border-top" id="nextArticle"></div>
126+
127+
</div>
128+
129+
<div class="affix">
130+
<nav id="affix"></nav>
131+
</div>
132+
</main>
133+
134+
<div class="container-xxl search-results" id="search-results"></div>
135+
136+
<footer class="border-top text-secondary">
137+
<div class="container-xxl">
138+
<div class="flex-fill">
139+
Copyright © 2025, Sportradar AG. Send comments or questions to <a href='mailto:sdk%40sportradar.com?Subject=Odds%20Feed%20SDK%20Std%20Documentation: UnifiedFeed SDK .NET Standard 2.0&amp;body=Your%20feedback%20is%20used%20to%20improve%20the%20documentation%20and%20the%20product.%20Your%20e-mail%20address%20will%20not%20be%20used%20for%20any%20other%20purpose%20and%20is%20disposed%20of%20after%20the%20issue%20you%20report%20is%20resolved.%20While%20working%20to%20resolve%20the%20issue%20that%20you%20report%2C%20you%20may%20be%20contacted%20via%20e-mail%20to%20get%20further%20details%20or%20clarification%20on%20the%20feedback%20you%20sent.%20After%20the%20issue%20you%20report%20has%20been%20addressed%2C%20you%20may%20receive%20an%20e-mail%20to%20let%20you%20know%20that%20your%20feedback%20has%20been%20addressed.'>SDK Team</a>.
140+
</div>
141+
</div>
142+
</footer>
143+
</body>
144+
</html>

docs/docs/class-feedmessage.html

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Feed Messages | Sportradar.OddsFeed.SDK </title>
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<meta name="title" content="Feed Messages | Sportradar.OddsFeed.SDK ">
8+
9+
10+
<link rel="icon" href="../images/favicon.ico">
11+
<link rel="stylesheet" href="../public/docfx.min.css">
12+
<link rel="stylesheet" href="../public/main.css">
13+
<meta name="docfx:navrel" content="../toc.html">
14+
<meta name="docfx:tocrel" content="toc.html">
15+
16+
<meta name="docfx:rel" content="../">
17+
18+
19+
20+
<meta name="loc:inThisArticle" content="In this article">
21+
<meta name="loc:searchResultsCount" content="{count} results for &quot;{query}&quot;">
22+
<meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
23+
<meta name="loc:tocFilter" content="Filter by title">
24+
<meta name="loc:nextArticle" content="Next">
25+
<meta name="loc:prevArticle" content="Previous">
26+
<meta name="loc:themeLight" content="Light">
27+
<meta name="loc:themeDark" content="Dark">
28+
<meta name="loc:themeAuto" content="Auto">
29+
<meta name="loc:changeTheme" content="Change theme">
30+
<meta name="loc:copy" content="Copy">
31+
<meta name="loc:downloadPdf" content="Download PDF">
32+
33+
<script type="module" src="./../public/docfx.min.js"></script>
34+
35+
<script>
36+
const theme = localStorage.getItem('theme') || 'auto'
37+
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
38+
</script>
39+
40+
</head>
41+
42+
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="">
43+
<header class="bg-body border-bottom">
44+
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
45+
<div class="container-xxl flex-nowrap">
46+
<a class="navbar-brand" href="../index.html">
47+
<img id="logo" class="svg" src="../images/uf-ns-h60.png" alt="Sportradar.OddsFeed.SDK">
48+
Sportradar.OddsFeed.SDK
49+
</a>
50+
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
51+
<i class="bi bi-three-dots"></i>
52+
</button>
53+
<div class="collapse navbar-collapse" id="navpanel">
54+
<div id="navbar">
55+
<form class="search" role="search" id="search">
56+
<i class="bi bi-search"></i>
57+
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
58+
</form>
59+
</div>
60+
</div>
61+
</div>
62+
</nav>
63+
</header>
64+
65+
<main class="container-xxl">
66+
<div class="toc-offcanvas">
67+
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
68+
<div class="offcanvas-header">
69+
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
70+
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
71+
</div>
72+
<div class="offcanvas-body">
73+
<nav class="toc" id="toc"></nav>
74+
</div>
75+
</div>
76+
</div>
77+
78+
<div class="content">
79+
<div class="actionbar">
80+
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
81+
<i class="bi bi-list"></i>
82+
</button>
83+
84+
<nav id="breadcrumb"></nav>
85+
</div>
86+
87+
<article data-uid="">
88+
<h1 id="feed-messages">Feed Messages</h1>
89+
90+
<p>The diagram below shows the hierarchy of SDK interfaces used to represent messages the feed sends through the AMQP broker.</p>
91+
<div class="NOTE">
92+
<h5>Note</h5>
93+
<p>Please note that the <a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Entities.ICashOutProbabilities-1.html">ICashOutProbabilities</a> type does not represent a message sent through the AMQP broker, but a response from the
94+
HTTP
95+
call used to retrieve probabilities.
96+
However, this is shown in this diagram because it is part of the same inheritance tree.</p>
97+
</div>
98+
<h3 id="interface-structure-for-feed-messages">Interface structure for feed messages</h3>
99+
<p>The following links will lead you to the respective class articles. Each article has three sections consisting of a class/interface description, method summary, and methods details.</p>
100+
<ul>
101+
<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Entities.IMessage.html">IMessage</a></li>
102+
<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Entities.IEventMessage-1.html">IEventMessage</a>
103+
<ul>
104+
<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Entities.IFixtureChange-1.html">IFixtureChange</a></li>
105+
<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Entities.IBetStop-1.html">IBetStop</a></li>
106+
<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Entities.IMarketMessage-2.html">IMarketMessage</a>
107+
<ul>
108+
<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Entities.IOddsChange-1.html">IOddsChange</a></li>
109+
<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Entities.IBetSettlement-1.html">IBetSettlement</a></li>
110+
<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Entities.IBetCancel-1.html">IBetCancel</a></li>
111+
<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Entities.IRollbackBetSettlement-1.html">IRollbackBetSettlement</a></li>
112+
<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Entities.IRollbackBetCancel-1.html">IRollbackBetCancel</a></li>
113+
<li><a class="xref" href="../sdkapi/Sportradar.OddsFeed.SDK.Entities.ICashOutProbabilities-1.html">ICashOutProbabilities</a></li>
114+
</ul>
115+
</li>
116+
</ul>
117+
</li>
118+
</ul>
119+
<h3 id="imessage-diagram">IMessage Diagram</h3>
120+
<p><img src="../media/diagrams/FeedMessageDiagram.png" alt="IMessage hierarchy"></p>
121+
122+
</article>
123+
124+
<div class="contribution d-print-none">
125+
</div>
126+
127+
<div class="next-article d-print-none border-top" id="nextArticle"></div>
128+
129+
</div>
130+
131+
<div class="affix">
132+
<nav id="affix"></nav>
133+
</div>
134+
</main>
135+
136+
<div class="container-xxl search-results" id="search-results"></div>
137+
138+
<footer class="border-top text-secondary">
139+
<div class="container-xxl">
140+
<div class="flex-fill">
141+
Copyright © 2025, Sportradar AG. Send comments or questions to <a href='mailto:sdk%40sportradar.com?Subject=Odds%20Feed%20SDK%20Std%20Documentation: UnifiedFeed SDK .NET Standard 2.0&amp;body=Your%20feedback%20is%20used%20to%20improve%20the%20documentation%20and%20the%20product.%20Your%20e-mail%20address%20will%20not%20be%20used%20for%20any%20other%20purpose%20and%20is%20disposed%20of%20after%20the%20issue%20you%20report%20is%20resolved.%20While%20working%20to%20resolve%20the%20issue%20that%20you%20report%2C%20you%20may%20be%20contacted%20via%20e-mail%20to%20get%20further%20details%20or%20clarification%20on%20the%20feedback%20you%20sent.%20After%20the%20issue%20you%20report%20has%20been%20addressed%2C%20you%20may%20receive%20an%20e-mail%20to%20let%20you%20know%20that%20your%20feedback%20has%20been%20addressed.'>SDK Team</a>.
142+
</div>
143+
</div>
144+
</footer>
145+
</body>
146+
</html>

0 commit comments

Comments
 (0)