Someone tried using values for season 1 ranked for Halo Wars 2 and the results were null. Why is this? Are the Season 1 stats not available anymore? If so, why? People do like to look at that data.
Hi, Mythrillium. I’m afraid I’m not sure what you’re referring to. If you’re still having issues, can you please clarify which operation you’re using and what data is coming back as null? Thanks!
> 2533274803816431;2:
> Hi, Mythrillium. I’m afraid I’m not sure what you’re referring to. If you’re still having issues, can you please clarify which operation you’re using and what data is coming back as null? Thanks!
I’m trying to get Player Rank info using HW2 Player Playlist Ratings
PC 1v1 Season 1: a177b19a32164962abdc4653dfb7911b
playerid: Mythrillium
I know I had Plat 4 or 3 in that season.
Response:
{ “Results”:[ { “Id”:“Mythrillium”, “ResultCode”:0, “Result”:{ “Mmr”:{ “Rating”:0.0, “Variance”:1.0, “LastModifiedDate”:{ “ISO8601Date”:""}}, “Csr”:null}} ], “Links”:{ “Self”:{ “AuthorityId”:“spartanstats”, “Path”:"/hw2/playlist/a177b19a32164962abdc4653dfb7911b/rating", “QueryString”:"?players=Mythrillium", “RetryPolicyId”:"", “TopicName”:"", “AcknowledgementTypeId”:0, “AuthenticationLifetimeExtensionSupported”:false}}}
Thank you for the additional context.
First, let’s establish the various content items and IDs at play.
So far in Halo Wars 2, we’ve had two seasons (and a third pre-season, but we’ll ignore that for the purposes of this discussion). These can be retrieved via “Metadata - Halo Wars 2 - Seasons”. The seasons are “Season 1” with ID 5895da2161f54db1a602a7b199e97d8b and “Season 2” with ID d718fef1d0824a8fa7138ea86b0172ec.
In Halo Wars 2, we have a variety of playlists. With the transition from Season 1 to Season 2, we created a new set of playlists. Therefore, the playlist with the display name of “RANKED SOLO WAR” has two different versions, one for each season. These playlists are “PC UWP S1 RANKED 1v1 WAR (CU4+)” with ID a177b19a32164962abdc4653dfb7911b and “PC UWP S2 RANKED 1v1 WAR (CU6+)” with ID 5343ce1bf5894e07a50ec18519f2bd5d.
The “Stats - Halo Wars 2 - Player Playlist Ratings” operation returns a player’s playlist ratings for the current season. This means that when you issue the request to “https://www.haloapi.com/stats/hw2/playlist/a177b19a32164962abdc4653dfb7911b/rating?players=Mythrillium”, you’re asking for your playlist rating on the “PC UWP S1 RANKED 1v1 WAR (CU4+)” in the current season (Season 2). However, now that we’re in Season 2, your rank on that playlist has been reset so that CSR is null. Since you can’t play on that playlist anymore in Season 2 (since games in “RANKED SOLO WAR” now occur on the “PC UWP S2 RANKED 1v1 WAR (CU6+)” playlist), CSR will continue to be null on that playlist.
Don’t worry though, your old playlist ratings aren’t lost. You can retrieve the highest CSR you earned in the current and previous seasons (as well as other stats) using the “Stats - Halo Wars 2 - Player Season Stats Summary” operation. Using the ID for Season 1 (5895da2161f54db1a602a7b199e97d8b) we can retrieve the Season Stats Summary for you via “https://www.haloapi.com/stats/hw2/players/Mythrillium/stats/seasons/5895da2161f54db1a602a7b199e97d8b”. Looking through the response in the RankedPlaylistStats collection for the “RANKED SOLO WAR” playlist ID (a177b19a32164962abdc4653dfb7911b), we find that the highest CSR you achieved was Designation = 4, Tier = 5 or Platinum 5.
If you wanted to find your playlist rating when the season ended or how your playlist rating changed over the course of the season, you can crawl through your match history using the “Stats - Halo Wars 2 - Player Match History” operation, which contains your CSR before and after each match.
I’m sorry about the confusion on this! I’ve updated the documentation for the “Stats - Halo Wars 2 - Player Playlist Ratings” operation to specify that it only returns ratings for the current season. Thanks!