Skip to content

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

License

Notifications You must be signed in to change notification settings

BrawlMatic/BrawlSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages