ClubElo.API
1.0.0
See the version list below for details.
dotnet add package ClubElo.API --version 1.0.0
NuGet\Install-Package ClubElo.API -Version 1.0.0
<PackageReference Include="ClubElo.API" Version="1.0.0" />
paket add ClubElo.API --version 1.0.0
#r "nuget: ClubElo.API, 1.0.0"
// Install ClubElo.API as a Cake Addin #addin nuget:?package=ClubElo.API&version=1.0.0 // Install ClubElo.API as a Cake Tool #tool nuget:?package=ClubElo.API&version=1.0.0
ClubElo.API
It's a C# library that allows you to send requests to the ClubElo API.
How to get the Elo ranks by team?
You can get the Elo ranks by team by creating an instance of the ClubEloHttpClient
class and calling the GetClubEloRanksByTeamAsync
method.
var client = new ClubEloHttpClient();
var result = await client.GetClubEloRanksByTeamAsync("ManCity");
How to get the Elo ranks by date?
You can get the Elo ranks by date by creating an instance of the ClubEloHttpClient
class and calling the GetClubEloRanksByDateAsync
method.
var client = new ClubEloHttpClient();
var result = await client.GetClubEloRanksByDateAsync("2024-01-01");
Notice tha the date must be in the format yyyy-MM-dd (2024-01-01).
How to get the Elo features?
You can get the Elo features by creating an instance of the ClubEloHttpClient
class and calling the GetClubEloFixturesAsync
method.
var client = new ClubEloHttpClient();
var result = await client.GetClubEloFixturesAsync();
How can I check the status of the request?
All methods return a ClubEloResult
object, by default the propert Success
is set to True
and the Message
to OK
, when an error occurs Success
is set to False
and details of the error can be found in Message
property.
Notes
For a full reference of all the ClubEloRank
and ClubEloFixture
propeties please visit ClubElo API
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.