This repository was archived by the owner on Apr 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Ranked Stats
Albie edited this page Aug 7, 2020
·
2 revisions
Unlike other stats, ranked stats resets every season (~3 months), and because of this it requires some extra data:
This is a number that identifies the season. If you don't need to get a specific season, the GetRankedStats extension has a current-season overload (the one without the number).
Season IDs and names can be found in the /data/seasons.json file in the Dragon6-Assets repo Note that seasons
0-6are unavailable and as such will return no data.
This is the grouped-location of the datacentres hosting the games the user is playing. They are split into 3 regions:
-
EMEA(Europe and the Middle East) -
NCSA(North, Centeral and South America) -
APAC(Asia and the Pacific)
You must pass one of these in plain text with the request to get the stats.
private void GetRankedStatsFor(AccountInfo account)
{
var stats = d6Client.GetSeasonStats(account, "EMEA", 17); // get season 17 in the EMEA region for this user
var stats = d6Client.GetSeasonStats(account, "EMEA"); // get the latest season in the EMEA region for this user
}