CLI program that lets you download csgo demos from faceit and analyze them for statistics.
This program requires at least go 1.18 to run. You can download the latest version of Go here.
- Create
demos
folder in root, and folder for each map indemos
folder. - Export
FACEIT_API_TOKEN
environment variable. - Open
cmd
folder withcd cmd
. - Run
go run . download
.
The program will automatically download your last 100 demos and put them in folders by map.
- Download demos.
- Open
cmd
folder withcd cmd
. - Run
go run . analyze
.
The program will parse and analyze your demos for stats and write results to stats.json
. You can then open index.html
for data visualization.
📦ucsr-analytics
┣ 📂cmd
┃ ┣ 📜main.go # entry point for golang script
┃ ┣ 📜download.go # automatic downloading of FACEIT demos
┃ ┗ 📜analyze.go # analyzing FACEIT demos and extracting statistics
┣ 📜index.html # visualization of stats.json
┗ 📜stats.json # file with stats auto generated by golang script