A tool for checking the average WG ratings of your teams and enemies teams in World of Tanks
Go to the Wargaming Developer room, sign in, and create a new server application. Provide your external IP address i.e. what what's my ip tells you, not your machine's LAN address.
This lets you make non-rate limited API queries
usage: replay_analyser.py [-h] [-o PREFIX] [-s] [-c] [-d DPI] [-g] [-k KEY]
[-r REGION] [-p]
dir [dir ...]
A tool to analyse replays.
positional arguments:
dir path to directory(s) containing replays
optional arguments:
-h, --help show this help message and exit
-o PREFIX, --output_name PREFIX
saved graph and csv files will be prefixed with PREFIX
-s, --save_img enable automatic saving of graphs as images.
-c, --csv enable saving of graph data as csv files
-d DPI, --dpi DPI set the DPI value for automatically saved images. This
scales the image. Default = 1000
-g, --graphs_off Disable display of graph windows
-k KEY, --key KEY application id (key) from
https://developers.wargaming.net/applications/
(optional)
-r REGION, --region REGION
set server region. defaults to "eu" and can be one of
[eu, us, ru, asia]
-p, --filter_platoons
remove battles where player was platooned from the
analysed replays
The program creates a cache.csv file so, if you need to stop it, WG results will not be fetched again. You can re-run or continue from where you left off.
Go to releases and download the latest version.
The executable can be run from the command line (cmd or powershell).
https://www.python.org/ftp/python/3.6.4/python-3.6.4-amd64-webinstall.exe
When you install, ensure you select the "add to path" option (will be something like that). It should be on the first page of the installer, otherwise you'll have to set it up manually, which is a pain.
Open a new Cmd or PowerShell window. Assuming path is correctly set up, just run:
pip install requests
pip install matplotlib
Either download the latest .zip and unpack to a directory of your choice, or clone the repo
In a Cmd or Powershell terminal, navigate to the directory where the unpacked code is
cd C:\full\path\to\containing\directory
Then run the code.