A powerful CLI tool to extract comprehensive player and recent game statistics for Call of Duty Modern Warfare 2019. Delivers insights beyond the in-game Barracks and cod.tracker.gg
Go to file
2023-10-08 07:23:50 -04:00
assets/build/icon First release, add more command line arguments, compile binary, add pyinstaller and building assets 2023-10-08 07:23:27 -04:00
bin First release, add more command line arguments, compile binary, add pyinstaller and building assets 2023-10-08 07:23:27 -04:00
curl Added setup.py, centralized curl scripts, added deps 2023-10-08 06:10:29 -04:00
deps First release, add more command line arguments, compile binary, add pyinstaller and building assets 2023-10-08 07:23:27 -04:00
examples Temp commit 2023-10-08 06:18:24 -04:00
src Readded api source 2023-10-08 06:18:53 -04:00
.gitignore Added setup.py, centralized curl scripts, added deps 2023-10-08 06:10:29 -04:00
build.bat First release, add more command line arguments, compile binary, add pyinstaller and building assets 2023-10-08 07:23:27 -04:00
get_cod_stats.py First release, add more command line arguments, compile binary, add pyinstaller and building assets 2023-10-08 07:23:27 -04:00
README.md Update README.md 2023-10-08 07:23:50 -04:00
setup.py First release, add more command line arguments, compile binary, add pyinstaller and building assets 2023-10-08 07:23:27 -04:00

Modern Warfare 2019 Detailed Statistic Tracker

Tired of visiting cod.tracker.gg to check your stats? With this repository, you'll never have to visit that site again.

Get every single statistic Call of Duty tracks in ONE PLACE, in under a minute!

This repository is still a work in progress.

Prerequisites

  • Python 3.x (optional)
  • A Web Browser (Tested with Chromium)
  • Call of Duty Account
  • Account API security settings set to open
  • Curl (Installed by default on Windows)

Command Line Arguments

usage: get_cod_stats.py [-h] [--replace-data] [--replace-match-data] [--player-name PLAYER_NAME]

optional arguments:
  -h, --help            show this help message and exit
  --replace-data        Beautify the data in stats.json
  --replace-match-data  Beautify the match data in match_info.json
  --player-name PLAYER_NAME
                        Player's username (with #1234567)

Gathering Detailed Stats

  • Go to Call of Duty's Website and login with your account
  • Once logged in, press F12 for your browsers developer tools. Then go to Application --> Storage --> Cookies --> https://www.callofduty.com and find ACT_SSO_COOKIE
  • Copy the Value into the into the COOKIE_VALUE variable in either get_stats.bat or get_stats.ps1 (This will authenticate you)
  • Replace the PROF variable with your profile's Activision ID in the following format - PlayerName%0000000
    • The % replaces the # in the usual Activision ID
  • Once stats are downloaded, run beautify_json.py to beautify the JSON output and then beautify_data.py to sort and replace the JSON keys into a human readable string

    If you don't have Python installed, you can run the executable versions of the scripts beautify_json.exe and beautify_data.exe

Sorting

  • Game Modes are sorted by Time Played in descending order
  • Weapons are sorted by Kills in descending order
  • Field Upgrades are sorted by Uses in descending order
  • Lethal and Tactical equipment are sorted by Uses in descending order
  • Lethal and Support Scorestreaks by Times Awarded in descending order
  • Accolades sorted in descending order

To see an example, look at example.json