From 5da3f881578b52633e44aea0a363f8e47cee0be7 Mon Sep 17 00:00:00 2001 From: Ahrimdon Date: Tue, 3 Oct 2023 05:44:39 -0400 Subject: [PATCH] Updated README.md --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README.md b/README.md index 5240510..6be9b34 100644 --- a/README.md +++ b/README.md @@ -6,4 +6,30 @@ 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)* +- Call of Duty Account +- Battle.NET Account (PC Only for now) +- Account API security settings set to open + +Gathering Detailed Stats +------------- +- Go to [Call of Duty's Website](https://www.callofduty.com/) 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 + +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` \ No newline at end of file