Skip to content
Dragon6 API - A Rainbow Six Siege Stats API for .NET
C#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
Dragon6-API
Dragon6-Test
.drone.yml
.gitattributes
.gitignore
.travis.yml
AssemblyVersionPatch.exe
Dragon6-API.sln
Dragon6-API.sln.DotSettings
LICENSE.md
Nuget.nuspec
README.md

README.md

Dragon6

Build Status Codacy Badge NuGet

Dragon6 is a free to use family of products specialising in Rainbow Six Siege Stats.

Dragon6 API

  • Easy to use
  • Full Async support
  • General Stats
  • Operator Specific Stats
  • Ranked Season Support
  • PC ID Reversal Support
  • HttpClient Presets
  • JSON Deserialisers (Download the data using your own system)

Usage

using Dragon6.API;
using Dragon6.API.Stats;

namespace Dragon6.EXAMPLE
{
    public class IStats
    {
		private string email = "youremail@gmail.com";
		private string password = "yourpassword";
		private string token;
		private General stats = null;
		private Season rankedstats = null;

		public async Task UpdatePlayerStats(string username)
		{
			Token.SetCredentials(email, password);
			token = await Token.GetToken(); //call this too many times and your account will be locked for 2 hours. Make sure you store this and set an expiry for two hours. When it expires you will need a new one.

			try
			{
				AccountInfo player = await AccountInfo.GetFromName(username, References.Platform.PC, token);		
				try
				{
		
					stats = await General.GetStats(player,token);
					rankedstats = await Season.GetSeason(player, "EMEA", token, -1); //-1 = current season but if excluded is the default
				}
				catch
				{
					stats = null;
				}
			}
			catch (ArgumentOutOfRangeException)
			{
				Console.WriteLine("The username you entered doesn't exist.");
				stats = null;
			}
		}

		public PlayerStats GetCasualKills()
		{ 
			if (stats == null) return 0;
			else return stats.Casual_Kills; 
		}
	}
}

In Production

Contributing

Feel free to add an issue if you discover one or if you're up to it, clone and make edits as you feel neccesarry.

Contributors can claim a verified profile on the Dragon6 Apps. This gives you access to beta features, including custom backgrounds on your profile. If you have contributed and wish to claim yours, send an email to inbox@dragonfruit.network with your R6 Player Info.

You can’t perform that action at this time.