This repository contains the code to scrape data off of warfish.net.
This projects uses poetry
to manage dependencies.
- Install poetry as described in their instructions
- Switch to the working directory for this project and run the following in your terminal:
poetry install
- See
warfish_example.py
for an example.
- Login to warfish automatically through a script
- Get a list of all games played
- Download game summaries
- Download all turns taken in a game (both finished and active)
- Summarise data into flat files
- Calculate expected and actual outcomes from an attack