Skip to content

Commit

Permalink
v2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gmusial-sr committed Oct 22, 2024
1 parent 1a6eab2 commit 2c9b145
Show file tree
Hide file tree
Showing 63 changed files with 4,583 additions and 2,098 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## 2024-10-22 2.4.0
- CustomBet ICalculation and ICalculationFilter extended with new property Harmonization (extended with ICalculationV1 and ICalculationFilterV1)
- CustomBet ISelection extended with new property Odds (extended with ISelectionV1)
- CustomBetSelectionBuilder extended with new method SetOdds (extended with ICustomBetSelectionBuilderV1)
- Fix: calling SportDataProvider.GetFixtureChangesAsync without additional filter
- Fix: calling SportDataProvider.GetResultChangesAsync without additional filter

## 2024-09-30 2.3.0
- A player can now have different jersey numbers assigned for different teams (new interface ICompetitorPlayer)
- Added support for + or - operation in market and outcome name template (e.g. market 739, 725)
Expand Down
Binary file modified docs/docs/toc.pdf
Binary file not shown.
34 changes: 27 additions & 7 deletions docs/index.json

Large diffs are not rendered by default.

40 changes: 40 additions & 0 deletions docs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,16 @@
},
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "sdkapi/Sportradar.OddsFeed.SDK.Api.Managers.ICustomBetSelectionBuilderV1.yml",
"output": {
".html": {
"relative_path": "sdkapi/Sportradar.OddsFeed.SDK.Api.Managers.ICustomBetSelectionBuilderV1.html"
}
},
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "sdkapi/Sportradar.OddsFeed.SDK.Api.Managers.IEventChangeManager.yml",
Expand Down Expand Up @@ -2073,6 +2083,26 @@
},
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "sdkapi/Sportradar.OddsFeed.SDK.Entities.Rest.CustomBet.ICalculationFilterV1.yml",
"output": {
".html": {
"relative_path": "sdkapi/Sportradar.OddsFeed.SDK.Entities.Rest.CustomBet.ICalculationFilterV1.html"
}
},
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "sdkapi/Sportradar.OddsFeed.SDK.Entities.Rest.CustomBet.ICalculationV1.yml",
"output": {
".html": {
"relative_path": "sdkapi/Sportradar.OddsFeed.SDK.Entities.Rest.CustomBet.ICalculationV1.html"
}
},
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "sdkapi/Sportradar.OddsFeed.SDK.Entities.Rest.CustomBet.IMarket.yml",
Expand Down Expand Up @@ -2113,6 +2143,16 @@
},
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "sdkapi/Sportradar.OddsFeed.SDK.Entities.Rest.CustomBet.ISelectionV1.yml",
"output": {
".html": {
"relative_path": "sdkapi/Sportradar.OddsFeed.SDK.Entities.Rest.CustomBet.ISelectionV1.html"
}
},
"version": ""
},
{
"type": "ManagedReference",
"source_relative_path": "sdkapi/Sportradar.OddsFeed.SDK.Entities.Rest.CustomBet.yml",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,260 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Interface ICustomBetSelectionBuilderV1 | Sportradar.OddsFeed.SDK </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Interface ICustomBetSelectionBuilderV1 | Sportradar.OddsFeed.SDK ">

<meta name="description" content="Defines methods used to build selections">
<link rel="icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../public/docfx.min.css">
<link rel="stylesheet" href="../public/main.css">
<meta name="docfx:navrel" content="../toc.html">
<meta name="docfx:tocrel" content="toc.html">

<meta name="docfx:rel" content="../">



<meta name="loc:inThisArticle" content="In this article">
<meta name="loc:searchResultsCount" content="{count} results for &quot;{query}&quot;">
<meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
<meta name="loc:tocFilter" content="Filter by title">
<meta name="loc:nextArticle" content="Next">
<meta name="loc:prevArticle" content="Previous">
<meta name="loc:themeLight" content="Light">
<meta name="loc:themeDark" content="Dark">
<meta name="loc:themeAuto" content="Auto">
<meta name="loc:changeTheme" content="Change theme">
<meta name="loc:copy" content="Copy">
<meta name="loc:downloadPdf" content="Download PDF">

<script type="module" src="./../public/docfx.min.js"></script>

<script>
const theme = localStorage.getItem('theme') || 'auto'
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
</script>

</head>

<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
<header class="bg-body border-bottom">
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
<div class="container-xxl flex-nowrap">
<a class="navbar-brand" href="../index.html">
<img id="logo" class="svg" src="../images/uf-ns-h60.png" alt="Sportradar.OddsFeed.SDK">
Sportradar.OddsFeed.SDK
</a>
<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">
<i class="bi bi-three-dots"></i>
</button>
<div class="collapse navbar-collapse" id="navpanel">
<div id="navbar">
<form class="search" role="search" id="search">
<i class="bi bi-search"></i>
<input class="form-control" id="search-query" type="search" disabled="" placeholder="Search" autocomplete="off" aria-label="Search">
</form>
</div>
</div>
</div>
</nav>
</header>

<main class="container-xxl">
<div class="toc-offcanvas">
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<nav class="toc" id="toc"></nav>
</div>
</div>
</div>

<div class="content">
<div class="actionbar">
<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">
<i class="bi bi-list"></i>
</button>

<nav id="breadcrumb"></nav>
</div>

<article data-uid="Sportradar.OddsFeed.SDK.Api.Managers.ICustomBetSelectionBuilderV1">



<h1 id="Sportradar_OddsFeed_SDK_Api_Managers_ICustomBetSelectionBuilderV1" data-uid="Sportradar.OddsFeed.SDK.Api.Managers.ICustomBetSelectionBuilderV1" class="text-break">
Interface ICustomBetSelectionBuilderV1
</h1>

<div class="facts text-secondary">
<dl><dt>Namespace</dt><dd><a class="xref" href="Sportradar.html">Sportradar</a>.<a class="xref" href="Sportradar.OddsFeed.html">OddsFeed</a>.<a class="xref" href="Sportradar.OddsFeed.SDK.html">SDK</a>.<a class="xref" href="Sportradar.OddsFeed.SDK.Api.html">Api</a>.<a class="xref" href="Sportradar.OddsFeed.SDK.Api.Managers.html">Managers</a></dd></dl>
<dl><dt>Assembly</dt><dd>Sportradar.OddsFeed.SDK.dll</dd></dl>
</div>

<div class="markdown summary"><p>Defines methods used to build selections</p>
</div>
<div class="markdown conceptual"></div>

<div class="codewrapper">
<pre><code class="lang-csharp hljs">public interface ICustomBetSelectionBuilderV1 : ICustomBetSelectionBuilder</code></pre>
</div>







<dl class="typelist inheritedMembers">
<dt>Inherited Members</dt>
<dd>
<div>
<a class="xref" href="Sportradar.OddsFeed.SDK.Api.Managers.ICustomBetSelectionBuilder.html#Sportradar_OddsFeed_SDK_Api_Managers_ICustomBetSelectionBuilder_SetEventId_Sportradar_OddsFeed_SDK_Common_Urn_">ICustomBetSelectionBuilder.SetEventId(Urn)</a>
</div>
<div>
<a class="xref" href="Sportradar.OddsFeed.SDK.Api.Managers.ICustomBetSelectionBuilder.html#Sportradar_OddsFeed_SDK_Api_Managers_ICustomBetSelectionBuilder_SetMarketId_System_Int32_">ICustomBetSelectionBuilder.SetMarketId(int)</a>
</div>
<div>
<a class="xref" href="Sportradar.OddsFeed.SDK.Api.Managers.ICustomBetSelectionBuilder.html#Sportradar_OddsFeed_SDK_Api_Managers_ICustomBetSelectionBuilder_SetSpecifiers_System_String_">ICustomBetSelectionBuilder.SetSpecifiers(string)</a>
</div>
<div>
<a class="xref" href="Sportradar.OddsFeed.SDK.Api.Managers.ICustomBetSelectionBuilder.html#Sportradar_OddsFeed_SDK_Api_Managers_ICustomBetSelectionBuilder_SetOutcomeId_System_String_">ICustomBetSelectionBuilder.SetOutcomeId(string)</a>
</div>
<div>
<a class="xref" href="Sportradar.OddsFeed.SDK.Api.Managers.ICustomBetSelectionBuilder.html#Sportradar_OddsFeed_SDK_Api_Managers_ICustomBetSelectionBuilder_Build">ICustomBetSelectionBuilder.Build()</a>
</div>
<div>
<a class="xref" href="Sportradar.OddsFeed.SDK.Api.Managers.ICustomBetSelectionBuilder.html#Sportradar_OddsFeed_SDK_Api_Managers_ICustomBetSelectionBuilder_Build_Sportradar_OddsFeed_SDK_Common_Urn_System_Int32_System_String_System_String_">ICustomBetSelectionBuilder.Build(Urn, int, string, string)</a>
</div>
</dd></dl>






<h2 class="section" id="methods">Methods
</h2>


<a id="Sportradar_OddsFeed_SDK_Api_Managers_ICustomBetSelectionBuilderV1_Build_" data-uid="Sportradar.OddsFeed.SDK.Api.Managers.ICustomBetSelectionBuilderV1.Build*"></a>

<h3 id="Sportradar_OddsFeed_SDK_Api_Managers_ICustomBetSelectionBuilderV1_Build_Sportradar_OddsFeed_SDK_Common_Urn_System_Int32_System_String_System_String_System_Nullable_System_Double__" data-uid="Sportradar.OddsFeed.SDK.Api.Managers.ICustomBetSelectionBuilderV1.Build(Sportradar.OddsFeed.SDK.Common.Urn,System.Int32,System.String,System.String,System.Nullable{System.Double})">
Build(Urn, int, string, string, double?)

</h3>

<div class="markdown level1 summary"><p>Builds and returns a <a class="xref" href="Sportradar.OddsFeed.SDK.Entities.Rest.CustomBet.ISelection.html">ISelection</a> instance</p>
</div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
<pre><code class="lang-csharp hljs">ISelection Build(Urn eventId, int marketId, string specifiers, string outcomeId, double? odds)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>eventId</code> <a class="xref" href="Sportradar.OddsFeed.SDK.Common.Urn.html">Urn</a></dt>
<dd><p>A <a class="xref" href="Sportradar.OddsFeed.SDK.Common.Urn.html">Urn</a> representing the event id</p>
</dd>
<dt><code>marketId</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd><p>A value representing the market id</p>
</dd>
<dt><code>specifiers</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>A value representing the specifiers</p>
</dd>
<dt><code>outcomeId</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>A value representing the outcome id</p>
</dd>
<dt><code>odds</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>?</dt>
<dd><p>A odds value for the outcome</p>
</dd>
</dl>

<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Sportradar.OddsFeed.SDK.Entities.Rest.CustomBet.ISelection.html">ISelection</a></dt>
<dd><p>The constructed <a class="xref" href="Sportradar.OddsFeed.SDK.Entities.Rest.CustomBet.ISelection.html">ISelection</a> instance</p>
</dd>
</dl>











<a id="Sportradar_OddsFeed_SDK_Api_Managers_ICustomBetSelectionBuilderV1_SetOdds_" data-uid="Sportradar.OddsFeed.SDK.Api.Managers.ICustomBetSelectionBuilderV1.SetOdds*"></a>

<h3 id="Sportradar_OddsFeed_SDK_Api_Managers_ICustomBetSelectionBuilderV1_SetOdds_System_Double_" data-uid="Sportradar.OddsFeed.SDK.Api.Managers.ICustomBetSelectionBuilderV1.SetOdds(System.Double)">
SetOdds(double)

</h3>

<div class="markdown level1 summary"><p>Sets outcome odds to the provided value</p>
</div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
<pre><code class="lang-csharp hljs">ICustomBetSelectionBuilder SetOdds(double odds)</code></pre>
</div>

<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>odds</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>A value representing the outcome odds</p>
</dd>
</dl>

<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Sportradar.OddsFeed.SDK.Api.Managers.ICustomBetSelectionBuilder.html">ICustomBetSelectionBuilder</a></dt>
<dd><p>The <a class="xref" href="Sportradar.OddsFeed.SDK.Api.Managers.ICustomBetSelectionBuilder.html">ICustomBetSelectionBuilder</a> instance used to set additional values</p>
</dd>
</dl>












</article>

<div class="contribution d-print-none">
</div>


</div>

<div class="affix">
<nav id="affix"></nav>
</div>
</main>

<div class="container-xxl search-results" id="search-results"></div>

<footer class="border-top text-secondary">
<div class="container-xxl">
<div class="flex-fill">
Copyright © 2024, 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>.
</div>
</div>
</footer>
</body>
</html>
5 changes: 5 additions & 0 deletions docs/sdkapi/Sportradar.OddsFeed.SDK.Api.Managers.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ <h3 id="interfaces">
<dl class="jumplist">
<dt><a class="xref" href="Sportradar.OddsFeed.SDK.Api.Managers.ICustomBetSelectionBuilder.html">ICustomBetSelectionBuilder</a></dt>
<dd><p>Defines methods used to build selections</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Sportradar.OddsFeed.SDK.Api.Managers.ICustomBetSelectionBuilderV1.html">ICustomBetSelectionBuilderV1</a></dt>
<dd><p>Defines methods used to build selections</p>
</dd>
</dl>
<dl class="jumplist">
Expand Down
Loading

0 comments on commit 2c9b145

Please sign in to comment.