blitz-tools

Python scripts to analyze WoT Blitz replays and stats. All the scripts require Python 3.7 or higher. I am using 3.8 myself so you may have to change the Python interpreter version in the scripts' first line.

Replays

Tank data

  • get_tankopedia.py: Get the lastest tankopedia data from wotinspector.com. The script fetches only a limited set of data. You may edit to your needs.
  • extract_tankopedia.py: Extract Blitz data directly from the Blitz app files. You need to download the Blitz App APK package and unzip it to a folder. Requires Python 3.7 or higher.

Utils

  • blitzutils.py: A utils class for various Blitz related to functions. Other scripts use this, so you need to place it to the same folder with the other scripts

Data

  • tanks.json: Tankopedia in WG JSON format extracted from the Blitz app files with [extract_tankopedia.py]](extractTankopedia.py]). Contains only limited information required by the scripts.
  • maps.json: Blitz map names extracted from the Blitz app files with [extract_tankopedia.py]](extract_tankopedia.py]).

Quick instructions

  1. Install Python 3.8 on to your computer/laptop
  2. Download all the files including the maps.json and tanks.json files
  3. Install the required Python modules: motor, aiohttp, aioconsole, aiofiles, aiosqlite, beautifulsoup4, lxml, xmltodict, progress
# Remember to run the command with a Python interpreter >= 3.7
python -m pip install motor aiohttp aioconsole aiofiles aiosqlite beautifulsoup4 lxml xmltodict progress 
  1. Upload your replays. Run python.exe .\upload_wotb_replays.py --help (Windows) or ./upload_wotb_replays.py --help (Linux)
  2. Analyze replays. Run python.exe .\analyze_wotb_replays.py --help (Windows) or ./analyze_wotb_replays.py --help (Linux)

Blitz releases

WoT Blitz releases: launch dates and key content.

Notes

Even though the code has an option to use MongoDB, you should not bother with that. The MongoDB support is solely for my own purposes and you do not need MongoDB to run the scripts.

You can reach me via email: [email protected] or Discord: Jylpah#4662. Happy tanking and stats analysis!

S
Description
No description provided
Readme MIT
617 KiB
0 Stars 0 Watchers 0 Forks
Languages
Python 100%