-
Notifications
You must be signed in to change notification settings - Fork 6
Ranked Stats
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-6
are 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, Central and South America) -
APAC
(Asia and the Pacific)
You must pass one of these in plain text with the request to get the stats. Newer seasons are region independent and as such the data won't change regardless of the region. The extension that asks for the current season, by default uses EMEA
as the region, but if you're going to get stats for another season (in the past) the region will need to be correct to get the stats and not show unranked
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); // get the latest season for this user
}