diff --git a/bin/get_cod_stats.exe b/bin/get_cod_stats.exe index b7a652f..9313186 100644 Binary files a/bin/get_cod_stats.exe and b/bin/get_cod_stats.exe differ diff --git a/examples/example_matches/match_1.json b/examples/example_matches/match_1.json index e6df37e..97f5701 100644 --- a/examples/example_matches/match_1.json +++ b/examples/example_matches/match_1.json @@ -2,7 +2,7 @@ "utcStartSeconds": "GMT: Friday, October 13, 2023 09:09:15 AM", "utcEndSeconds": "GMT: Friday, October 13, 2023 09:14:29 AM", "map": "mp_m_speedball", - "mode": "Gunfight", + "mode": "arena", "matchID": "9418543359897068941", "duration": "5 Minutes 14 Seconds 0 Milliseconds", "playlistName": null, @@ -14,6 +14,27 @@ "team1Score": 3, "team2Score": 6, "isPresentAtEnd": true, + "player": { + "team": "allies", + "rank": 65.0, + "awards": { + "low_health_kill": 160896.0, + "mode_x_last_alive": 112192.0, + "mode_x_eliminate": 160848.0, + "match_complete": 289424.0, + "firstblood": 160800.0, + "match_complete_win": 114480.0, + "streak_5": 112288.0, + "avenger": 30128.0, + "first_place_kill": 112240.0 + }, + "nemesis": "Maddan-78", + "mostKilled": "Diabl0", + "username": "Ahrimdon", + "uno": "19568270", + "platform": "battlenet", + "killstreakUsage": {} + }, "playerStats": { "kills": 6.0, "medalXp": 2350.0, @@ -46,7 +67,7 @@ "damageTaken": 748.0 }, "weaponStats": { - "AS VAL": { + "iw8_ar_valpha": { "hits": 5.0, "kills": 1.0, "headshots": 0.0, @@ -56,7 +77,7 @@ "deaths": 2.0, "xpEarned": 180.0 }, - "1911": { + "iw8_pi_mike1911": { "hits": 1.0, "kills": 0.0, "headshots": 0.0, @@ -66,7 +87,7 @@ "deaths": 1.0, "xpEarned": 0.0 }, - "JAK-12": { + "iw8_sh_aalpha12": { "hits": 1.0, "kills": 0.0, "headshots": 0.0, @@ -76,7 +97,7 @@ "deaths": 1.0, "xpEarned": 0.0 }, - "M19": { + "iw8_pi_papa320": { "hits": 1.0, "kills": 0.0, "headshots": 0.0, @@ -86,7 +107,7 @@ "deaths": 0.0, "xpEarned": 0.0 }, - "Holger-26": { + "iw8_lm_mgolf36": { "hits": 1.0, "kills": 0.0, "headshots": 0.0, @@ -96,7 +117,7 @@ "deaths": 2.0, "xpEarned": 0.0 }, - "Uzi": { + "iw8_sm_uzulu": { "hits": 8.0, "kills": 1.0, "headshots": 0.0, @@ -108,6 +129,6 @@ } }, "allPlayers": null, - "Gunfight": false, + "arena": false, "privateMatch": false } \ No newline at end of file diff --git a/examples/example_matches/match_10.json b/examples/example_matches/match_10.json index 6e87eca..cd7ef71 100644 --- a/examples/example_matches/match_10.json +++ b/examples/example_matches/match_10.json @@ -2,7 +2,7 @@ "utcStartSeconds": "GMT: Friday, October 13, 2023 08:06:34 AM", "utcEndSeconds": "GMT: Friday, October 13, 2023 08:11:52 AM", "map": "mp_m_hill", - "mode": "Gunfight", + "mode": "arena", "matchID": "17778358267058167779", "duration": "5 Minutes 18 Seconds 0 Milliseconds", "playlistName": null, @@ -14,6 +14,30 @@ "team1Score": 2, "team2Score": 6, "isPresentAtEnd": true, + "player": { + "team": "axis", + "rank": 65.0, + "awards": { + "mode_x_eliminate": 271792.0, + "stunned_kill": 74576.0, + "pointblank": 221984.0, + "match_complete_win": 297328.0, + "streak_5": 174576.0, + "avenger": 46848.0, + "save_teammate": 271888.0, + "mode_x_last_alive": 48816.0, + "headshot": 271840.0, + "match_complete": 254880.0, + "firstblood": 271744.0, + "first_place_kill": 271888.0, + "longshot": 127376.0 + }, + "mostKilled": "Jeffrey Epstein", + "username": "Ahrimdon", + "uno": "19568270", + "platform": "battlenet", + "killstreakUsage": {} + }, "playerStats": { "kills": 9.0, "medalXp": 2470.0, @@ -56,7 +80,7 @@ "deaths": 0.0, "xpEarned": 0.0 }, - "FR 5.56": { + "iw8_ar_falpha": { "hits": 9.0, "kills": 3.0, "headshots": 0.0, @@ -66,7 +90,7 @@ "deaths": 1.0, "xpEarned": 540.0 }, - "X16": { + "iw8_pi_golf21": { "hits": 2.0, "kills": 1.0, "headshots": 0.0, @@ -76,7 +100,7 @@ "deaths": 0.0, "xpEarned": 270.0 }, - ".50 GS": { + "iw8_pi_decho": { "hits": 1.0, "kills": 0.0, "headshots": 0.0, @@ -86,7 +110,7 @@ "deaths": 1.0, "xpEarned": 0.0 }, - "Origin 12 Shotgun": { + "iw8_sh_oscar12": { "hits": 4.0, "kills": 1.0, "headshots": 0.0, @@ -96,7 +120,7 @@ "deaths": 0.0, "xpEarned": 180.0 }, - "Fennec": { + "iw8_sm_victor": { "hits": 4.0, "kills": 1.0, "headshots": 1.0, @@ -118,6 +142,6 @@ } }, "allPlayers": null, - "Gunfight": false, + "arena": false, "privateMatch": false } \ No newline at end of file diff --git a/examples/example_matches/match_11.json b/examples/example_matches/match_11.json index 10ee48b..461ae4f 100644 --- a/examples/example_matches/match_11.json +++ b/examples/example_matches/match_11.json @@ -2,7 +2,7 @@ "utcStartSeconds": "GMT: Friday, October 13, 2023 08:00:29 AM", "utcEndSeconds": "GMT: Friday, October 13, 2023 08:04:42 AM", "map": "mp_m_drainage", - "mode": "Gunfight", + "mode": "arena", "matchID": "12628755660379406419", "duration": "4 Minutes 13 Seconds 0 Milliseconds", "playlistName": null, @@ -14,6 +14,27 @@ "team1Score": 1, "team2Score": 6, "isPresentAtEnd": true, + "player": { + "team": "axis", + "rank": 65.0, + "awards": { + "low_health_kill": 90144.0, + "one_shot_kill": 169856.0, + "mode_x_last_alive": 115008.0, + "mode_x_eliminate": 169808.0, + "headshot": 114960.0, + "match_complete": 207376.0, + "match_complete_win": 237696.0, + "firstblood": 169760.0, + "streak_5": 169904.0, + "first_place_kill": 169904.0 + }, + "mostKilled": "Bane", + "username": "Ahrimdon", + "uno": "19568270", + "platform": "battlenet", + "killstreakUsage": {} + }, "playerStats": { "kills": 5.0, "medalXp": 2095.0, @@ -46,7 +67,7 @@ "damageTaken": 254.0 }, "weaponStats": { - "Renetti": { + "iw8_pi_mike9": { "hits": 3.0, "kills": 0.0, "headshots": 0.0, @@ -56,7 +77,7 @@ "deaths": 0.0, "xpEarned": 135.0 }, - "M91": { + "iw8_lm_kilo121": { "hits": 6.0, "kills": 2.0, "headshots": 1.0, @@ -66,7 +87,7 @@ "deaths": 0.0, "xpEarned": 360.0 }, - "HDR": { + "iw8_sn_hdromeo": { "hits": 2.0, "kills": 1.0, "headshots": 0.0, @@ -76,7 +97,7 @@ "deaths": 0.0, "xpEarned": 180.0 }, - "Striker 45": { + "iw8_sm_smgolf45": { "hits": 3.0, "kills": 0.0, "headshots": 0.0, @@ -88,6 +109,6 @@ } }, "allPlayers": null, - "Gunfight": false, + "arena": false, "privateMatch": false } \ No newline at end of file diff --git a/examples/example_matches/match_12.json b/examples/example_matches/match_12.json index f6a452c..e3a837f 100644 --- a/examples/example_matches/match_12.json +++ b/examples/example_matches/match_12.json @@ -2,7 +2,7 @@ "utcStartSeconds": "GMT: Friday, October 13, 2023 07:53:08 AM", "utcEndSeconds": "GMT: Friday, October 13, 2023 07:58:40 AM", "map": "mp_m_wallco2", - "mode": "Gunfight", + "mode": "arena", "matchID": "13011335364533875207", "duration": "5 Minutes 32 Seconds 0 Milliseconds", "playlistName": null, @@ -14,6 +14,29 @@ "team1Score": 6, "team2Score": 4, "isPresentAtEnd": true, + "player": { + "team": "axis", + "rank": 65.0, + "awards": { + "low_health_kill": 11696.0, + "slide_kill": 96160.0, + "one_shot_kill": 165728.0, + "mode_x_last_alive": 258976.0, + "mode_x_eliminate": 259072.0, + "pointblank": 258928.0, + "kill_jumper": 259024.0, + "match_complete": 278560.0, + "firstblood": 242400.0, + "match_complete_win": 261264.0, + "first_place_kill": 259072.0, + "longshot": 3264.0 + }, + "mostKilled": "Josh", + "username": "Ahrimdon", + "uno": "19568270", + "platform": "battlenet", + "killstreakUsage": {} + }, "playerStats": { "kills": 9.0, "medalXp": 2175.0, @@ -56,7 +79,7 @@ "deaths": 0.0, "xpEarned": 0.0 }, - "X16": { + "iw8_pi_golf21": { "hits": 3.0, "kills": 1.0, "headshots": 0.0, @@ -66,7 +89,7 @@ "deaths": 0.0, "xpEarned": 180.0 }, - "725": { + "iw8_sh_charlie725": { "hits": 1.0, "kills": 0.0, "headshots": 0.0, @@ -76,7 +99,7 @@ "deaths": 1.0, "xpEarned": 0.0 }, - "PKM": { + "iw8_lm_pkilo": { "hits": 9.0, "kills": 2.0, "headshots": 0.0, @@ -86,7 +109,7 @@ "deaths": 0.0, "xpEarned": 360.0 }, - "ISO": { + "iw8_sm_charlie9": { "hits": 8.0, "kills": 2.0, "headshots": 0.0, @@ -96,7 +119,7 @@ "deaths": 0.0, "xpEarned": 360.0 }, - "HDR": { + "iw8_sn_hdromeo": { "hits": 2.0, "kills": 2.0, "headshots": 0.0, @@ -106,7 +129,7 @@ "deaths": 0.0, "xpEarned": 360.0 }, - "Grau 5.56": { + "iw8_ar_sierra552": { "hits": 0.0, "kills": 0.0, "headshots": 0.0, @@ -118,6 +141,6 @@ } }, "allPlayers": null, - "Gunfight": false, + "arena": false, "privateMatch": false } \ No newline at end of file diff --git a/examples/example_matches/match_13.json b/examples/example_matches/match_13.json index 27b194d..87de166 100644 --- a/examples/example_matches/match_13.json +++ b/examples/example_matches/match_13.json @@ -2,7 +2,7 @@ "utcStartSeconds": "GMT: Friday, October 13, 2023 07:48:06 AM", "utcEndSeconds": "GMT: Friday, October 13, 2023 07:51:26 AM", "map": "mp_m_king", - "mode": "Gunfight", + "mode": "arena", "matchID": "11409852559879680761", "duration": "3 Minutes 20 Seconds 0 Milliseconds", "playlistName": null, @@ -14,6 +14,28 @@ "team1Score": 1, "team2Score": 6, "isPresentAtEnd": true, + "player": { + "team": "axis", + "rank": 65.0, + "awards": { + "low_health_kill": 68032.0, + "one_shot_kill": 12912.0, + "mode_x_last_alive": 17776.0, + "mode_x_eliminate": 120432.0, + "air_kill": 12960.0, + "headshot": 120480.0, + "firstblood": 67984.0, + "match_complete_win": 181920.0, + "avenger": 17824.0, + "first_place_kill": 120528.0, + "longshot": 17872.0 + }, + "mostKilled": "Clay_Doohh", + "username": "Ahrimdon", + "uno": "19568270", + "platform": "battlenet", + "killstreakUsage": {} + }, "playerStats": { "kills": 4.0, "medalXp": 1380.0, @@ -46,7 +68,7 @@ "damageTaken": 241.0 }, "weaponStats": { - "FAL": { + "iw8_ar_falima": { "hits": 0.0, "kills": 0.0, "headshots": 0.0, @@ -56,7 +78,7 @@ "deaths": 1.0, "xpEarned": 0.0 }, - "1911": { + "iw8_pi_mike1911": { "hits": 2.0, "kills": 1.0, "headshots": 0.0, @@ -66,7 +88,7 @@ "deaths": 0.0, "xpEarned": 180.0 }, - "X16": { + "iw8_pi_golf21": { "hits": 0.0, "kills": 0.0, "headshots": 0.0, @@ -86,7 +108,7 @@ "deaths": 0.0, "xpEarned": 0.0 }, - "PKM": { + "iw8_lm_pkilo": { "hits": 0.0, "kills": 0.0, "headshots": 0.0, @@ -96,7 +118,7 @@ "deaths": 0.0, "xpEarned": 0.0 }, - "Model 680": { + "iw8_sh_romeo870": { "hits": 0.0, "kills": 0.0, "headshots": 0.0, @@ -108,6 +130,6 @@ } }, "allPlayers": null, - "Gunfight": false, + "arena": false, "privateMatch": false } \ No newline at end of file diff --git a/examples/example_matches/match_14.json b/examples/example_matches/match_14.json index 59475b7..74367c8 100644 --- a/examples/example_matches/match_14.json +++ b/examples/example_matches/match_14.json @@ -2,7 +2,7 @@ "utcStartSeconds": "GMT: Friday, October 13, 2023 07:41:23 AM", "utcEndSeconds": "GMT: Friday, October 13, 2023 07:46:05 AM", "map": "mp_m_trench", - "mode": "Gunfight", + "mode": "arena", "matchID": "14167686646012486282", "duration": "4 Minutes 42 Seconds 0 Milliseconds", "playlistName": null, @@ -14,6 +14,27 @@ "team1Score": 2, "team2Score": 6, "isPresentAtEnd": true, + "player": { + "team": "axis", + "rank": 65.0, + "awards": { + "low_health_kill": 197744.0, + "one_shot_kill": 47184.0, + "mode_x_last_alive": 197696.0, + "mode_x_eliminate": 258576.0, + "headshot": 258624.0, + "match_complete": 88640.0, + "firstblood": 217968.0, + "match_complete_win": 260864.0, + "streak_5": 258672.0, + "first_place_kill": 258672.0 + }, + "mostKilled": "Clay_Doohh", + "username": "Ahrimdon", + "uno": "19568270", + "platform": "battlenet", + "killstreakUsage": {} + }, "playerStats": { "kills": 9.0, "medalXp": 2220.0, @@ -46,7 +67,7 @@ "damageTaken": 353.0 }, "weaponStats": { - "1911": { + "iw8_pi_mike1911": { "hits": 2.0, "kills": 1.0, "headshots": 1.0, @@ -56,7 +77,7 @@ "deaths": 0.0, "xpEarned": 180.0 }, - "X16": { + "iw8_pi_golf21": { "hits": 1.0, "kills": 1.0, "headshots": 0.0, @@ -66,7 +87,7 @@ "deaths": 0.0, "xpEarned": 180.0 }, - "MP7": { + "iw8_sm_mpapa7": { "hits": 9.0, "kills": 1.0, "headshots": 0.0, @@ -76,7 +97,7 @@ "deaths": 0.0, "xpEarned": 180.0 }, - "JAK-12": { + "iw8_sh_aalpha12": { "hits": 0.0, "kills": 0.0, "headshots": 0.0, @@ -86,7 +107,7 @@ "deaths": 1.0, "xpEarned": 0.0 }, - "Rytec AMR": { + "iw8_sn_xmike109": { "hits": 1.0, "kills": 2.0, "headshots": 0.0, @@ -98,6 +119,6 @@ } }, "allPlayers": null, - "Gunfight": false, + "arena": false, "privateMatch": false } \ No newline at end of file diff --git a/examples/example_matches/match_15.json b/examples/example_matches/match_15.json index da12dc9..1ec63f3 100644 --- a/examples/example_matches/match_15.json +++ b/examples/example_matches/match_15.json @@ -2,7 +2,7 @@ "utcStartSeconds": "GMT: Friday, October 13, 2023 07:35:37 AM", "utcEndSeconds": "GMT: Friday, October 13, 2023 07:39:18 AM", "map": "mp_rust", - "mode": "Gunfight", + "mode": "arena", "matchID": "1807617646663886523", "duration": "3 Minutes 41 Seconds 0 Milliseconds", "playlistName": null, @@ -14,6 +14,25 @@ "team1Score": 6, "team2Score": 2, "isPresentAtEnd": true, + "player": { + "team": "allies", + "rank": 65.0, + "awards": { + "mode_x_eliminate": 204304.0, + "pointblank": 204256.0, + "headshot": 107216.0, + "match_complete": 177152.0, + "match_complete_win": 206592.0, + "firstblood": 134992.0, + "first_place_kill": 204352.0, + "longshot": 135088.0 + }, + "mostKilled": "Shaggy9313", + "username": "Ahrimdon", + "uno": "19568270", + "platform": "battlenet", + "killstreakUsage": {} + }, "playerStats": { "kills": 3.0, "medalXp": 1340.0, @@ -46,7 +65,7 @@ "damageTaken": 378.0 }, "weaponStats": { - "SP-R 208": { + "iw8_sn_romeo700": { "hits": 1.0, "kills": 0.0, "headshots": 0.0, @@ -56,7 +75,7 @@ "deaths": 2.0, "xpEarned": 135.0 }, - "X16": { + "iw8_pi_golf21": { "hits": 3.0, "kills": 0.0, "headshots": 0.0, @@ -66,7 +85,7 @@ "deaths": 1.0, "xpEarned": 0.0 }, - "JAK-12": { + "iw8_sh_aalpha12": { "hits": 1.0, "kills": 0.0, "headshots": 0.0, @@ -78,6 +97,6 @@ } }, "allPlayers": null, - "Gunfight": false, + "arena": false, "privateMatch": false } \ No newline at end of file diff --git a/examples/example_matches/match_16.json b/examples/example_matches/match_16.json index e963c4c..7113c81 100644 --- a/examples/example_matches/match_16.json +++ b/examples/example_matches/match_16.json @@ -2,7 +2,7 @@ "utcStartSeconds": "GMT: Friday, October 13, 2023 07:28:57 AM", "utcEndSeconds": "GMT: Friday, October 13, 2023 07:33:23 AM", "map": "mp_m_cornfield", - "mode": "Gunfight", + "mode": "arena", "matchID": "1061289958884906199", "duration": "4 Minutes 26 Seconds 0 Milliseconds", "playlistName": null, @@ -14,6 +14,25 @@ "team1Score": 3, "team2Score": 6, "isPresentAtEnd": true, + "player": { + "team": "axis", + "rank": 65.0, + "awards": { + "low_health_kill": 69008.0, + "mode_x_last_alive": 188560.0, + "mode_x_eliminate": 214272.0, + "pointblank": 214320.0, + "match_complete": 74544.0, + "match_complete_win": 216560.0, + "firstblood": 214224.0, + "first_place_kill": 214368.0 + }, + "mostKilled": "MoistTicTac", + "username": "Ahrimdon", + "uno": "19568270", + "platform": "battlenet", + "killstreakUsage": {} + }, "playerStats": { "kills": 7.0, "medalXp": 1630.0, @@ -46,7 +65,7 @@ "damageTaken": 396.0 }, "weaponStats": { - "1911": { + "iw8_pi_mike1911": { "hits": 3.0, "kills": 1.0, "headshots": 0.0, @@ -56,7 +75,7 @@ "deaths": 0.0, "xpEarned": 180.0 }, - "Crossbow": { + "iw8_sn_crossbow": { "hits": 0.0, "kills": 0.0, "headshots": 0.0, @@ -66,7 +85,7 @@ "deaths": 1.0, "xpEarned": 0.0 }, - "MG34": { + "iw8_lm_mgolf34": { "hits": 0.0, "kills": 0.0, "headshots": 0.0, @@ -76,7 +95,7 @@ "deaths": 1.0, "xpEarned": 0.0 }, - "Oden": { + "iw8_ar_asierra12": { "hits": 9.0, "kills": 3.0, "headshots": 0.0, @@ -86,7 +105,7 @@ "deaths": 1.0, "xpEarned": 540.0 }, - "Model 680": { + "iw8_sh_romeo870": { "hits": 1.0, "kills": 1.0, "headshots": 0.0, @@ -98,6 +117,6 @@ } }, "allPlayers": null, - "Gunfight": false, + "arena": false, "privateMatch": false } \ No newline at end of file diff --git a/examples/example_matches/match_17.json b/examples/example_matches/match_17.json index aac8259..451787b 100644 --- a/examples/example_matches/match_17.json +++ b/examples/example_matches/match_17.json @@ -2,7 +2,7 @@ "utcStartSeconds": "GMT: Friday, October 13, 2023 07:22:15 AM", "utcEndSeconds": "GMT: Friday, October 13, 2023 07:26:58 AM", "map": "mp_m_cargo", - "mode": "Gunfight", + "mode": "arena", "matchID": "12407184959904712603", "duration": "4 Minutes 43 Seconds 0 Milliseconds", "playlistName": null, @@ -14,6 +14,24 @@ "team1Score": 2, "team2Score": 6, "isPresentAtEnd": true, + "player": { + "team": "allies", + "rank": 65.0, + "awards": { + "low_health_kill": 154144.0, + "mode_x_eliminate": 169056.0, + "match_complete": 207856.0, + "firstblood": 168784.0, + "match_complete_win": 171392.0, + "first_place_kill": 168880.0 + }, + "nemesis": "Ppepsuuiii", + "mostKilled": "Ppepsuuiii", + "username": "Ahrimdon", + "uno": "19568270", + "platform": "battlenet", + "killstreakUsage": {} + }, "playerStats": { "kills": 5.0, "medalXp": 1340.0, @@ -46,7 +64,7 @@ "damageTaken": 698.0 }, "weaponStats": { - "M91": { + "iw8_lm_kilo121": { "hits": 0.0, "kills": 0.0, "headshots": 0.0, @@ -66,7 +84,7 @@ "deaths": 0.0, "xpEarned": 0.0 }, - "X16": { + "iw8_pi_golf21": { "hits": 0.0, "kills": 0.0, "headshots": 0.0, @@ -76,7 +94,7 @@ "deaths": 0.0, "xpEarned": 0.0 }, - "Striker 45": { + "iw8_sm_smgolf45": { "hits": 7.0, "kills": 2.0, "headshots": 0.0, @@ -86,7 +104,7 @@ "deaths": 1.0, "xpEarned": 360.0 }, - "Oden": { + "iw8_ar_asierra12": { "hits": 2.0, "kills": 1.0, "headshots": 0.0, @@ -96,7 +114,7 @@ "deaths": 2.0, "xpEarned": 180.0 }, - "R9-0 Shotgun": { + "iw8_sh_dpapa12": { "hits": 0.0, "kills": 0.0, "headshots": 0.0, @@ -108,6 +126,6 @@ } }, "allPlayers": null, - "Gunfight": false, + "arena": false, "privateMatch": false } \ No newline at end of file diff --git a/examples/example_matches/match_18.json b/examples/example_matches/match_18.json index e452eb9..8b6443e 100644 --- a/examples/example_matches/match_18.json +++ b/examples/example_matches/match_18.json @@ -2,7 +2,7 @@ "utcStartSeconds": "GMT: Friday, October 13, 2023 07:17:06 AM", "utcEndSeconds": "GMT: Friday, October 13, 2023 07:19:53 AM", "map": "mp_m_cage", - "mode": "Gunfight", + "mode": "arena", "matchID": "3236775995900435719", "duration": "2 Minutes 47 Seconds 0 Milliseconds", "playlistName": null, @@ -14,6 +14,22 @@ "team1Score": 1, "team2Score": 6, "isPresentAtEnd": true, + "player": { + "team": "allies", + "rank": 65.0, + "awards": { + "mode_x_eliminate": 7392.0, + "match_complete": 128592.0, + "match_complete_win": 9776.0, + "save_teammate": 7344.0 + }, + "nemesis": "Slayer", + "mostKilled": "Slayer", + "username": "Ahrimdon", + "uno": "19568270", + "platform": "battlenet", + "killstreakUsage": {} + }, "playerStats": { "kills": 1.0, "medalXp": 1510.0, @@ -46,7 +62,7 @@ "damageTaken": 600.0 }, "weaponStats": { - ".357": { + "iw8_pi_cpapa": { "hits": 2.0, "kills": 0.0, "headshots": 0.0, @@ -56,7 +72,7 @@ "deaths": 2.0, "xpEarned": 0.0 }, - "MP5": { + "iw8_sm_mpapa5": { "hits": 0.0, "kills": 0.0, "headshots": 0.0, @@ -66,7 +82,7 @@ "deaths": 1.0, "xpEarned": 0.0 }, - "R9-0 Shotgun": { + "iw8_sh_dpapa12": { "hits": 3.0, "kills": 1.0, "headshots": 0.0, @@ -76,7 +92,7 @@ "deaths": 0.0, "xpEarned": 180.0 }, - "Grau 5.56": { + "iw8_ar_sierra552": { "hits": 3.0, "kills": 0.0, "headshots": 0.0, @@ -88,6 +104,6 @@ } }, "allPlayers": null, - "Gunfight": false, + "arena": false, "privateMatch": false } \ No newline at end of file diff --git a/examples/example_matches/match_19.json b/examples/example_matches/match_19.json index 75a9737..a9c4acb 100644 --- a/examples/example_matches/match_19.json +++ b/examples/example_matches/match_19.json @@ -2,7 +2,7 @@ "utcStartSeconds": "GMT: Friday, October 13, 2023 07:09:25 AM", "utcEndSeconds": "GMT: Friday, October 13, 2023 07:14:17 AM", "map": "mp_shipment", - "mode": "Gunfight", + "mode": "arena", "matchID": "8150798539455925554", "duration": "4 Minutes 52 Seconds 0 Milliseconds", "playlistName": null, @@ -14,6 +14,30 @@ "team1Score": 6, "team2Score": 4, "isPresentAtEnd": true, + "player": { + "team": "allies", + "rank": 65.0, + "awards": { + "low_health_kill": 181168.0, + "one_shot_kill": 92736.0, + "mode_x_eliminate": 262128.0, + "pointblank": 61360.0, + "stunned_kill": 170896.0, + "match_complete_win": 264416.0, + "save_teammate": 262176.0, + "mode_x_last_alive": 181216.0, + "headshot": 12752.0, + "air_to_air_kill": 92832.0, + "match_complete": 243168.0, + "firstblood": 258576.0, + "first_place_kill": 262224.0 + }, + "mostKilled": "ImMaPh_cKyOu44", + "username": "Ahrimdon", + "uno": "19568270", + "platform": "battlenet", + "killstreakUsage": {} + }, "playerStats": { "kills": 9.0, "medalXp": 1950.0, @@ -46,7 +70,7 @@ "damageTaken": 731.0 }, "weaponStats": { - "AS VAL": { + "iw8_ar_valpha": { "hits": 0.0, "kills": 0.0, "headshots": 0.0, @@ -56,7 +80,7 @@ "deaths": 1.0, "xpEarned": 0.0 }, - "1911": { + "iw8_pi_mike1911": { "hits": 0.0, "kills": 0.0, "headshots": 0.0, @@ -76,7 +100,7 @@ "deaths": 0.0, "xpEarned": 0.0 }, - "725": { + "iw8_sh_charlie725": { "hits": 2.0, "kills": 2.0, "headshots": 0.0, @@ -86,7 +110,7 @@ "deaths": 0.0, "xpEarned": 360.0 }, - "MP5": { + "iw8_sm_mpapa5": { "hits": 9.0, "kills": 2.0, "headshots": 0.0, @@ -96,7 +120,7 @@ "deaths": 0.0, "xpEarned": 360.0 }, - "Holger-26": { + "iw8_lm_mgolf36": { "hits": 3.0, "kills": 1.0, "headshots": 1.0, @@ -108,6 +132,6 @@ } }, "allPlayers": null, - "Gunfight": false, + "arena": false, "privateMatch": false } \ No newline at end of file diff --git a/examples/example_matches/match_2.json b/examples/example_matches/match_2.json index e973d4b..dd33f8d 100644 --- a/examples/example_matches/match_2.json +++ b/examples/example_matches/match_2.json @@ -2,7 +2,7 @@ "utcStartSeconds": "GMT: Friday, October 13, 2023 09:01:13 AM", "utcEndSeconds": "GMT: Friday, October 13, 2023 09:06:49 AM", "map": "mp_m_stadium", - "mode": "Gunfight", + "mode": "arena", "matchID": "16756300293244951150", "duration": "5 Minutes 36 Seconds 0 Milliseconds", "playlistName": null, @@ -14,6 +14,29 @@ "team1Score": 6, "team2Score": 2, "isPresentAtEnd": true, + "player": { + "team": "allies", + "rank": 65.0, + "awards": { + "low_health_kill": 109424.0, + "one_shot_kill": 268624.0, + "mode_x_last_alive": 312608.0, + "mode_x_eliminate": 312656.0, + "pointblank": 268720.0, + "headshot": 262800.0, + "match_complete": 155744.0, + "firstblood": 262656.0, + "match_complete_win": 314896.0, + "streak_5": 268768.0, + "first_place_kill": 312560.0, + "longshot": 262800.0 + }, + "mostKilled": "TIGER KING", + "username": "Ahrimdon", + "uno": "19568270", + "platform": "battlenet", + "killstreakUsage": {} + }, "playerStats": { "kills": 10.0, "medalXp": 2565.0, @@ -46,7 +69,7 @@ "damageTaken": 390.0 }, "weaponStats": { - "Renetti": { + "iw8_pi_mike9": { "hits": 9.0, "kills": 2.0, "headshots": 0.0, @@ -56,7 +79,7 @@ "deaths": 0.0, "xpEarned": 360.0 }, - "1911": { + "iw8_pi_mike1911": { "hits": 0.0, "kills": 0.0, "headshots": 0.0, @@ -66,7 +89,7 @@ "deaths": 0.0, "xpEarned": 0.0 }, - "MG34": { + "iw8_lm_mgolf34": { "hits": 6.0, "kills": 2.0, "headshots": 2.0, @@ -76,7 +99,7 @@ "deaths": 0.0, "xpEarned": 360.0 }, - "ISO": { + "iw8_sm_charlie9": { "hits": 11.0, "kills": 1.0, "headshots": 1.0, @@ -86,7 +109,7 @@ "deaths": 0.0, "xpEarned": 270.0 }, - "Origin 12 Shotgun": { + "iw8_sh_oscar12": { "hits": 2.0, "kills": 2.0, "headshots": 1.0, @@ -98,6 +121,6 @@ } }, "allPlayers": null, - "Gunfight": false, + "arena": false, "privateMatch": false } \ No newline at end of file diff --git a/examples/example_matches/match_20.json b/examples/example_matches/match_20.json index 476a6fb..98540a5 100644 --- a/examples/example_matches/match_20.json +++ b/examples/example_matches/match_20.json @@ -2,7 +2,7 @@ "utcStartSeconds": "GMT: Friday, October 13, 2023 07:00:36 AM", "utcEndSeconds": "GMT: Friday, October 13, 2023 07:07:41 AM", "map": "mp_m_hill", - "mode": "Gunfight", + "mode": "arena", "matchID": "1031183506930466944", "duration": "7 Minutes 5 Seconds 0 Milliseconds", "playlistName": null, @@ -14,6 +14,25 @@ "team1Score": 6, "team2Score": 4, "isPresentAtEnd": true, + "player": { + "team": "allies", + "rank": 65.0, + "awards": { + "low_health_kill": 411584.0, + "mode_x_eliminate": 411632.0, + "headshot": 351616.0, + "match_complete": 322512.0, + "firstblood": 409616.0, + "match_complete_win": 413920.0, + "first_place_kill": 409712.0, + "save_teammate": 216016.0 + }, + "mostKilled": "Toman34", + "username": "Ahrimdon", + "uno": "19568270", + "platform": "battlenet", + "killstreakUsage": {} + }, "playerStats": { "kills": 6.0, "medalXp": 1915.0, @@ -46,7 +65,7 @@ "damageTaken": 481.0 }, "weaponStats": { - "1911": { + "iw8_pi_mike1911": { "hits": 0.0, "kills": 0.0, "headshots": 0.0, @@ -56,7 +75,7 @@ "deaths": 0.0, "xpEarned": 0.0 }, - "FR 5.56": { + "iw8_ar_falpha": { "hits": 3.0, "kills": 0.0, "headshots": 0.0, @@ -66,7 +85,7 @@ "deaths": 1.0, "xpEarned": 45.0 }, - "Crossbow": { + "iw8_sn_crossbow": { "hits": 0.0, "kills": 0.0, "headshots": 0.0, @@ -76,7 +95,7 @@ "deaths": 0.0, "xpEarned": 0.0 }, - "MG34": { + "iw8_lm_mgolf34": { "hits": 8.0, "kills": 2.0, "headshots": 0.0, @@ -86,7 +105,7 @@ "deaths": 0.0, "xpEarned": 360.0 }, - "P90": { + "iw8_sm_papa90": { "hits": 10.0, "kills": 2.0, "headshots": 2.0, @@ -98,6 +117,6 @@ } }, "allPlayers": null, - "Gunfight": false, + "arena": false, "privateMatch": false } \ No newline at end of file diff --git a/examples/example_matches/match_3.json b/examples/example_matches/match_3.json index 1e894f0..04882ae 100644 --- a/examples/example_matches/match_3.json +++ b/examples/example_matches/match_3.json @@ -2,7 +2,7 @@ "utcStartSeconds": "GMT: Friday, October 13, 2023 08:54:51 AM", "utcEndSeconds": "GMT: Friday, October 13, 2023 08:59:00 AM", "map": "mp_m_fork", - "mode": "Gunfight", + "mode": "arena", "matchID": "4426854641996609602", "duration": "4 Minutes 9 Seconds 0 Milliseconds", "playlistName": null, @@ -14,6 +14,27 @@ "team1Score": 6, "team2Score": 2, "isPresentAtEnd": true, + "player": { + "team": "axis", + "rank": 65.0, + "awards": { + "low_health_kill": 125760.0, + "mode_x_last_alive": 174992.0, + "mode_x_eliminate": 175040.0, + "headshot": 172288.0, + "match_complete": 227904.0, + "firstblood": 125616.0, + "match_complete_win": 177280.0, + "first_place_kill": 174944.0, + "longshot": 125712.0 + }, + "nemesis": "Jf_bassing", + "mostKilled": "Huevos104", + "username": "Ahrimdon", + "uno": "19568270", + "platform": "battlenet", + "killstreakUsage": {} + }, "playerStats": { "kills": 5.0, "medalXp": 1635.0, @@ -46,7 +67,7 @@ "damageTaken": 688.0 }, "weaponStats": { - ".50 GS": { + "iw8_pi_decho": { "hits": 0.0, "kills": 0.0, "headshots": 0.0, @@ -56,7 +77,7 @@ "deaths": 1.0, "xpEarned": 0.0 }, - "FiNN LMG": { + "iw8_lm_sierrax": { "hits": 8.0, "kills": 1.0, "headshots": 0.0, @@ -66,7 +87,7 @@ "deaths": 1.0, "xpEarned": 180.0 }, - "EBR-14": { + "iw8_sn_mike14": { "hits": 7.0, "kills": 3.0, "headshots": 1.0, @@ -76,7 +97,7 @@ "deaths": 1.0, "xpEarned": 540.0 }, - "FN Scar 17": { + "iw8_ar_scharlie": { "hits": 2.0, "kills": 0.0, "headshots": 0.0, @@ -88,6 +109,6 @@ } }, "allPlayers": null, - "Gunfight": false, + "arena": false, "privateMatch": false } \ No newline at end of file diff --git a/examples/example_matches/match_4.json b/examples/example_matches/match_4.json index 1a60cda..85600e3 100644 --- a/examples/example_matches/match_4.json +++ b/examples/example_matches/match_4.json @@ -2,7 +2,7 @@ "utcStartSeconds": "GMT: Friday, October 13, 2023 08:46:06 AM", "utcEndSeconds": "GMT: Friday, October 13, 2023 08:52:45 AM", "map": "mp_m_overunder", - "mode": "Gunfight", + "mode": "arena", "matchID": "13122840687922000264", "duration": "6 Minutes 39 Seconds 0 Milliseconds", "playlistName": null, @@ -14,6 +14,29 @@ "team1Score": 6, "team2Score": 4, "isPresentAtEnd": true, + "player": { + "team": "axis", + "rank": 65.0, + "awards": { + "low_health_kill": 23280.0, + "one_shot_kill": 359072.0, + "mode_x_last_alive": 33072.0, + "mode_x_eliminate": 359024.0, + "stunned_kill": 54160.0, + "pointblank": 122192.0, + "headshot": 239712.0, + "match_complete": 371104.0, + "firstblood": 358976.0, + "match_complete_win": 216784.0, + "first_place_kill": 239808.0, + "save_teammate": 54112.0 + }, + "mostKilled": "Jf_bassing", + "username": "Ahrimdon", + "uno": "19568270", + "platform": "battlenet", + "killstreakUsage": {} + }, "playerStats": { "kills": 8.0, "medalXp": 2460.0, @@ -46,7 +69,7 @@ "damageTaken": 676.0 }, "weaponStats": { - "1911": { + "iw8_pi_mike1911": { "hits": 1.0, "kills": 0.0, "headshots": 0.0, @@ -56,7 +79,7 @@ "deaths": 0.0, "xpEarned": 90.0 }, - "SP-R 208": { + "iw8_sn_romeo700": { "hits": 1.0, "kills": 1.0, "headshots": 0.0, @@ -66,7 +89,7 @@ "deaths": 2.0, "xpEarned": 180.0 }, - "M19": { + "iw8_pi_papa320": { "hits": 2.0, "kills": 1.0, "headshots": 0.0, @@ -76,7 +99,7 @@ "deaths": 0.0, "xpEarned": 180.0 }, - "Holger-26": { + "iw8_lm_mgolf36": { "hits": 6.0, "kills": 2.0, "headshots": 0.0, @@ -86,7 +109,7 @@ "deaths": 0.0, "xpEarned": 360.0 }, - "PP19 Bizon": { + "iw8_sm_beta": { "hits": 4.0, "kills": 0.0, "headshots": 0.0, @@ -96,7 +119,7 @@ "deaths": 1.0, "xpEarned": 0.0 }, - "R9-0 Shotgun": { + "iw8_sh_dpapa12": { "hits": 1.0, "kills": 1.0, "headshots": 0.0, @@ -118,6 +141,6 @@ } }, "allPlayers": null, - "Gunfight": false, + "arena": false, "privateMatch": false } \ No newline at end of file diff --git a/examples/example_matches/match_5.json b/examples/example_matches/match_5.json index 5aaea94..b60a32b 100644 --- a/examples/example_matches/match_5.json +++ b/examples/example_matches/match_5.json @@ -2,7 +2,7 @@ "utcStartSeconds": "GMT: Friday, October 13, 2023 08:38:24 AM", "utcEndSeconds": "GMT: Friday, October 13, 2023 08:43:46 AM", "map": "mp_m_train", - "mode": "Gunfight", + "mode": "arena", "matchID": "5904974789808129470", "duration": "5 Minutes 22 Seconds 0 Milliseconds", "playlistName": null, @@ -14,6 +14,27 @@ "team1Score": 4, "team2Score": 6, "isPresentAtEnd": true, + "player": { + "team": "allies", + "rank": 65.0, + "awards": { + "low_health_kill": 227232.0, + "one_shot_kill": 148144.0, + "mode_x_last_alive": 122784.0, + "mode_x_eliminate": 227136.0, + "pointblank": 227184.0, + "match_complete": 297216.0, + "firstblood": 227088.0, + "match_complete_win": 150432.0, + "first_place_kill": 148192.0 + }, + "nemesis": "Mr_Phillycheeze", + "mostKilled": "Mr_Phillycheeze", + "username": "Ahrimdon", + "uno": "19568270", + "platform": "battlenet", + "killstreakUsage": {} + }, "playerStats": { "kills": 5.0, "medalXp": 2390.0, @@ -46,7 +67,7 @@ "damageTaken": 791.0 }, "weaponStats": { - "X16": { + "iw8_pi_golf21": { "hits": 3.0, "kills": 0.0, "headshots": 0.0, @@ -56,7 +77,7 @@ "deaths": 1.0, "xpEarned": 135.0 }, - "SA87": { + "iw8_lm_lima86": { "hits": 2.0, "kills": 0.0, "headshots": 0.0, @@ -66,7 +87,7 @@ "deaths": 1.0, "xpEarned": 90.0 }, - "MP5": { + "iw8_sm_mpapa5": { "hits": 7.0, "kills": 1.0, "headshots": 0.0, @@ -76,7 +97,7 @@ "deaths": 2.0, "xpEarned": 180.0 }, - "M19": { + "iw8_pi_papa320": { "hits": 1.0, "kills": 0.0, "headshots": 0.0, @@ -86,7 +107,7 @@ "deaths": 0.0, "xpEarned": 0.0 }, - "Origin 12 Shotgun": { + "iw8_sh_oscar12": { "hits": 3.0, "kills": 0.0, "headshots": 0.0, @@ -96,7 +117,7 @@ "deaths": 2.0, "xpEarned": 0.0 }, - "Rytec AMR": { + "iw8_sn_xmike109": { "hits": 1.0, "kills": 1.0, "headshots": 0.0, @@ -108,6 +129,6 @@ } }, "allPlayers": null, - "Gunfight": false, + "arena": false, "privateMatch": false } \ No newline at end of file diff --git a/examples/example_matches/match_6.json b/examples/example_matches/match_6.json index 718e560..cf5bd2b 100644 --- a/examples/example_matches/match_6.json +++ b/examples/example_matches/match_6.json @@ -2,7 +2,7 @@ "utcStartSeconds": "GMT: Friday, October 13, 2023 08:32:14 AM", "utcEndSeconds": "GMT: Friday, October 13, 2023 08:35:12 AM", "map": "mp_m_trench", - "mode": "Gunfight", + "mode": "arena", "matchID": "6975546085129714208", "duration": "2 Minutes 58 Seconds 0 Milliseconds", "playlistName": null, @@ -14,6 +14,24 @@ "team1Score": 6, "team2Score": 0, "isPresentAtEnd": true, + "player": { + "team": "axis", + "rank": 65.0, + "awards": { + "mode_x_eliminate": 123712.0, + "headshot": 123760.0, + "match_complete": 163920.0, + "firstblood": 123664.0, + "first_place_kill": 45088.0, + "longshot": 45088.0 + }, + "nemesis": "Mr_Phillycheeze", + "mostKilled": "oobagweJ", + "username": "Ahrimdon", + "uno": "19568270", + "platform": "battlenet", + "killstreakUsage": {} + }, "playerStats": { "kills": 2.0, "medalXp": 1590.0, @@ -46,7 +64,7 @@ "damageTaken": 600.0 }, "weaponStats": { - "Bruen Mk9": { + "iw8_lm_mkilo3": { "hits": 5.0, "kills": 1.0, "headshots": 1.0, @@ -56,7 +74,7 @@ "deaths": 2.0, "xpEarned": 180.0 }, - "VLK Rogue": { + "iw8_sh_mike26": { "hits": 1.0, "kills": 0.0, "headshots": 0.0, @@ -66,7 +84,7 @@ "deaths": 1.0, "xpEarned": 0.0 }, - "M13": { + "iw8_ar_mcharlie": { "hits": 6.0, "kills": 0.0, "headshots": 0.0, @@ -76,7 +94,7 @@ "deaths": 2.0, "xpEarned": 0.0 }, - "M19": { + "iw8_pi_papa320": { "hits": 5.0, "kills": 1.0, "headshots": 1.0, @@ -88,6 +106,6 @@ } }, "allPlayers": null, - "Gunfight": false, + "arena": false, "privateMatch": false } \ No newline at end of file diff --git a/examples/example_matches/match_7.json b/examples/example_matches/match_7.json index ecef506..e3daf1a 100644 --- a/examples/example_matches/match_7.json +++ b/examples/example_matches/match_7.json @@ -2,7 +2,7 @@ "utcStartSeconds": "GMT: Friday, October 13, 2023 08:24:20 AM", "utcEndSeconds": "GMT: Friday, October 13, 2023 08:30:11 AM", "map": "mp_m_pine", - "mode": "Gunfight", + "mode": "arena", "matchID": "15185728700852222154", "duration": "5 Minutes 51 Seconds 0 Milliseconds", "playlistName": null, @@ -14,6 +14,28 @@ "team1Score": 3, "team2Score": 6, "isPresentAtEnd": true, + "player": { + "team": "axis", + "rank": 65.0, + "awards": { + "low_health_kill": 324704.0, + "slide_kill": 167248.0, + "mode_x_last_alive": 324656.0, + "mode_x_eliminate": 324752.0, + "headshot": 270432.0, + "match_complete": 243376.0, + "firstblood": 189184.0, + "match_complete_win": 326944.0, + "avenger": 236640.0, + "first_place_kill": 324752.0, + "longshot": 324608.0 + }, + "mostKilled": "RSTER", + "username": "Ahrimdon", + "uno": "19568270", + "platform": "battlenet", + "killstreakUsage": {} + }, "playerStats": { "kills": 9.0, "medalXp": 2505.0, @@ -46,7 +68,7 @@ "damageTaken": 732.0 }, "weaponStats": { - "Renetti": { + "iw8_pi_mike9": { "hits": 7.0, "kills": 2.0, "headshots": 0.0, @@ -56,7 +78,7 @@ "deaths": 1.0, "xpEarned": 360.0 }, - "M91": { + "iw8_lm_kilo121": { "hits": 3.0, "kills": 1.0, "headshots": 1.0, @@ -66,7 +88,7 @@ "deaths": 0.0, "xpEarned": 180.0 }, - ".50 GS": { + "iw8_pi_decho": { "hits": 2.0, "kills": 0.0, "headshots": 0.0, @@ -76,7 +98,7 @@ "deaths": 0.0, "xpEarned": 0.0 }, - "Striker 45": { + "iw8_sm_smgolf45": { "hits": 4.0, "kills": 1.0, "headshots": 0.0, @@ -86,7 +108,7 @@ "deaths": 0.0, "xpEarned": 180.0 }, - "Model 680": { + "iw8_sh_romeo870": { "hits": 4.0, "kills": 2.0, "headshots": 0.0, @@ -106,7 +128,7 @@ "deaths": 0.0, "xpEarned": 0.0 }, - "Grau 5.56": { + "iw8_ar_sierra552": { "hits": 1.0, "kills": 0.0, "headshots": 0.0, @@ -118,6 +140,6 @@ } }, "allPlayers": null, - "Gunfight": false, + "arena": false, "privateMatch": false } \ No newline at end of file diff --git a/examples/example_matches/match_8.json b/examples/example_matches/match_8.json index 1cb2d2c..c2bc8f2 100644 --- a/examples/example_matches/match_8.json +++ b/examples/example_matches/match_8.json @@ -2,7 +2,7 @@ "utcStartSeconds": "GMT: Friday, October 13, 2023 08:19:01 AM", "utcEndSeconds": "GMT: Friday, October 13, 2023 08:22:19 AM", "map": "mp_m_showers", - "mode": "Gunfight", + "mode": "arena", "matchID": "12106462555916355611", "duration": "3 Minutes 18 Seconds 0 Milliseconds", "playlistName": null, @@ -14,6 +14,24 @@ "team1Score": 1, "team2Score": 6, "isPresentAtEnd": true, + "player": { + "team": "axis", + "rank": 65.0, + "awards": { + "mode_x_last_alive": 145664.0, + "mode_x_eliminate": 166960.0, + "match_complete": 38272.0, + "match_complete_win": 179888.0, + "firstblood": 166912.0, + "avenger": 81264.0, + "first_place_kill": 167008.0 + }, + "mostKilled": "RSTER", + "username": "Ahrimdon", + "uno": "19568270", + "platform": "battlenet", + "killstreakUsage": {} + }, "playerStats": { "kills": 7.0, "medalXp": 1895.0, @@ -46,7 +64,7 @@ "damageTaken": 300.0 }, "weaponStats": { - "M4A1": { + "iw8_ar_mike4": { "hits": 1.0, "kills": 1.0, "headshots": 0.0, @@ -56,7 +74,7 @@ "deaths": 0.0, "xpEarned": 180.0 }, - "Renetti": { + "iw8_pi_mike9": { "hits": 3.0, "kills": 1.0, "headshots": 0.0, @@ -76,7 +94,7 @@ "deaths": 0.0, "xpEarned": 0.0 }, - "1911": { + "iw8_pi_mike1911": { "hits": 0.0, "kills": 0.0, "headshots": 0.0, @@ -86,7 +104,7 @@ "deaths": 1.0, "xpEarned": 0.0 }, - "Dragunov": { + "iw8_sn_delta": { "hits": 1.0, "kills": 0.0, "headshots": 0.0, @@ -96,7 +114,7 @@ "deaths": 1.0, "xpEarned": 0.0 }, - "Holger-26": { + "iw8_lm_mgolf36": { "hits": 4.0, "kills": 1.0, "headshots": 0.0, @@ -108,6 +126,6 @@ } }, "allPlayers": null, - "Gunfight": false, + "arena": false, "privateMatch": false } \ No newline at end of file diff --git a/examples/example_matches/match_9.json b/examples/example_matches/match_9.json index c50a476..22009b1 100644 --- a/examples/example_matches/match_9.json +++ b/examples/example_matches/match_9.json @@ -2,7 +2,7 @@ "utcStartSeconds": "GMT: Friday, October 13, 2023 08:14:12 AM", "utcEndSeconds": "GMT: Friday, October 13, 2023 08:17:03 AM", "map": "mp_m_cage", - "mode": "Gunfight", + "mode": "arena", "matchID": "14763503065632813798", "duration": "2 Minutes 51 Seconds 0 Milliseconds", "playlistName": null, @@ -14,6 +14,28 @@ "team1Score": 6, "team2Score": 1, "isPresentAtEnd": true, + "player": { + "team": "allies", + "rank": 65.0, + "awards": { + "low_health_kill": 84048.0, + "one_shot_kill": 123008.0, + "slide_kill": 123104.0, + "mode_x_last_alive": 84000.0, + "mode_x_eliminate": 144736.0, + "pointblank": 56000.0, + "headshot": 120352.0, + "firstblood": 144688.0, + "match_complete_win": 153344.0, + "streak_5": 100720.0, + "first_place_kill": 144784.0 + }, + "mostKilled": "Angel 4hunnidd", + "username": "Ahrimdon", + "uno": "19568270", + "platform": "battlenet", + "killstreakUsage": {} + }, "playerStats": { "kills": 9.0, "medalXp": 2035.0, @@ -46,7 +68,7 @@ "damageTaken": 459.0 }, "weaponStats": { - "1911": { + "iw8_pi_mike1911": { "hits": 5.0, "kills": 2.0, "headshots": 0.0, @@ -56,7 +78,7 @@ "deaths": 0.0, "xpEarned": 360.0 }, - "VLK Rogue": { + "iw8_sh_mike26": { "hits": 1.0, "kills": 0.0, "headshots": 0.0, @@ -66,7 +88,7 @@ "deaths": 0.0, "xpEarned": 45.0 }, - "X16": { + "iw8_pi_golf21": { "hits": 3.0, "kills": 1.0, "headshots": 0.0, @@ -76,7 +98,7 @@ "deaths": 0.0, "xpEarned": 180.0 }, - "AUG": { + "iw8_sm_augolf": { "hits": 6.0, "kills": 1.0, "headshots": 0.0, @@ -86,7 +108,7 @@ "deaths": 2.0, "xpEarned": 180.0 }, - "Kilo 141": { + "iw8_ar_kilo433": { "hits": 6.0, "kills": 1.0, "headshots": 0.0, @@ -98,6 +120,6 @@ } }, "allPlayers": null, - "Gunfight": false, + "arena": false, "privateMatch": false } \ No newline at end of file diff --git a/get_cod_stats.py b/get_cod_stats.py index 4403ebc..bc97451 100644 --- a/get_cod_stats.py +++ b/get_cod_stats.py @@ -456,8 +456,12 @@ def split_matches_into_files(): for idx, match in enumerate(matches): # Create a copy of the match to ensure we don't modify the original data match_copy = dict(match) - # Remove player subkey to avoid the cascading data, if you want to exclude more, add them here - match_copy.pop('player', None) + # Remove the 'loadouts' subkey from the 'player' key to avoid the cascading data + match_copy['player'].pop('loadouts', None) + match_copy['player'].pop('loadout', None) + + # Remove the entire player subkey to avoid the cascading data, if you want to exclude more, add them here + # match_copy.pop('player', None) file_name = f"match_{idx + 1}.json" with open(os.path.join(MATCHES_DIR, file_name), 'w') as match_file: