ScoreSaberLib 2.2.6

.NET Standard 2.0
NuGet\Install-Package ScoreSaberLib -Version 2.2.6
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package ScoreSaberLib --version 2.2.6
<PackageReference Include="ScoreSaberLib" Version="2.2.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ScoreSaberLib --version 2.2.6
#r "nuget: ScoreSaberLib, 2.2.6"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install ScoreSaberLib as a Cake Addin
#addin nuget:?package=ScoreSaberLib&version=2.2.6

// Install ScoreSaberLib as a Cake Tool
#tool nuget:?package=ScoreSaberLib&version=2.2.6

ScoreSaberLib

Scoresaber API library

Changes from 2 to 2.6.

  • Added ScoreFeed (a websocket that will send you live plays when subscribed) - Added OnDisconnect - Fixed a wrong metadata bug - Made the websocket public
  • Added PlayerScoreByCount (It returns a specific map by its count. 3 will return the third map on the page for example)
  • Fixed a bug where api results didn't collect correctly.

A scoresaber api library to easily use functions on the scoresaber API Install with Nuget https://www.nuget.org/packages/ScoreSaberLib/

Examples:
Get a player by name
//create a scoresaber client
var scoresaberClient = new ScoreSaberClient();
//use the API to navigate to various endpoints
//and use their functions
//In this example we are using [Players]
var playerListNamedSilverhaze = await scoresaberClient.API.Players.GetPlayers(search: "silverhaze", page: 1, countryCodes: "NL");

Subscribe to live scores
//Create a new Scoresaber client, connect with the scorefeed and subscribe to the OnPlayReceived event.
var scoreSaberClient = new ScoreSaberClient();
scoreSaberClient.Api.ScoreFeed.Connect();
scoreSaberClient.Api.ScoreFeed.OnPlayReceived += ScoreFeed_OnPlayReceived;

What endpoints are there?
scoresaberClient.API
scoresaberClient.API.Leaderboards
scoresaberClient.API.Players
scoresaberClient.API.RankingRequests
scoresaberClient.API.ScoreFeed

Leaderboards
For API calls towards finding the leaderboard infos with the possibility for specific arguments

Players
For API calls towards finding info about players/player. By-Name, ByID, Recentsongs, TopSongs etc.

RankingRequests
For API calls towards finding info about maps that are about to get ranked.

ScoreFeed
For getting live Score data when players played a map.

For more info: https://docs.scoresaber.com/#/

Tags:
Scoresaber, Scoresaber api, BeatSaber, Beat Saber api

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.2.6 100 5/24/2022
2.2.5 98 5/3/2022
2.2.4 90 4/24/2022
2.2.3 96 4/19/2022
2.2.2 113 4/18/2022
2.2.1 99 4/18/2022
2.2.0 99 4/18/2022
2.1.0 124 12/18/2021
2.0.0 200 11/22/2021
1.0.0 251 3/16/2021

Package includes the new version of the Scoresaber API with all features.