Skip to content
Dragon6 API - A Rainbow Six Siege Stats API for .NET
C#
Branch: master
Clone or download
Latest commit 921f508 Aug 24, 2019

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 Reverse Engineer Support

Usage

using Dragon6.API;

namespace Dragon6.EXAMPLE
{
    public class IStats
    {
		private string email = "youremail@gmail.com";
		private string password = "yourpassword";
		private string token;
		private PlayerStats stats = 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 one hour

			try
			{
				AccountInfo player = await AccountInfo.GetFromName(username ,References.Platform.PC,token);		
				try
				{
		
					stats = await PlayerStats.GetStats(player,token);
				}
				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 are awarded a verified profile on the Dragon6 Apps. This gives you access to beta features, custom backgrounds on your profile and squads. If you have contributed and wish to claim yours, send an email to inbox@dragonfruit.network with your R6 Player Info and the Twitch/YT links to add.

You can’t perform that action at this time.