BrawlMatic.API.BrawlSharp 2.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package BrawlMatic.API.BrawlSharp --version 2.0.0                
NuGet\Install-Package BrawlMatic.API.BrawlSharp -Version 2.0.0                
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.
<PackageReference Include="BrawlMatic.API.BrawlSharp" Version="2.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BrawlMatic.API.BrawlSharp --version 2.0.0                
#r "nuget: BrawlMatic.API.BrawlSharp, 2.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BrawlMatic.API.BrawlSharp as a Cake Addin
#addin nuget:?package=BrawlMatic.API.BrawlSharp&version=2.0.0

// Install BrawlMatic.API.BrawlSharp as a Cake Tool
#tool nuget:?package=BrawlMatic.API.BrawlSharp&version=2.0.0                

BrawlSharp

A powerful C# library for interacting with the Brawl Stars API.

Installation

Install using the Package Manager Console in Visual Studio.

Install-Package BrawlMatic.API.BrawlSharp

Dependencies

Usage

var client = new BrawlSharpClient("<token>");
    
var player = await client.GetPlayerAsync("2L8Q9GRC");
Console.WriteLine(player.Name); //Tweenky
Console.WriteLine(player.HighestTrophies); //25620

var club = await client.GetClubAsync("8L8Q0VLR");
Console.WriteLine(club.RequiredTrophies); //10000
Console.WriteLine(club.Members.Length); //24

var leaderboard = await client.GetPlayerLeaderboardAsync();
Console.WriteLine(leaderboard.Players[0].Trophies); //65122
Console.WriteLine(leaderboard.Players[50].Club.Name); //Humble Grinders

var brawler = await client.GetBrawlerAsync(16000005);
Console.WriteLine(brawler.Name); //SPIKE
Console.WriteLine(brawler.StarPowers[1].Name); //CURVEBALL

Support

Join our Discord server if you need any assistance.

License

MIT

Product 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.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on BrawlMatic.API.BrawlSharp:

Package Downloads
BrawlMatic.Tools.BrawlEvents

A powerful tracker for Brawl Stars that provides insights on battles, such as brawler usage and win rate.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.1 822 3/20/2022
2.0.0 1,039 2/10/2022
1.0.1 648 2/7/2022
1.0.0 415 2/5/2022