Fantasy Sports Analyzer is a command-line tool written in Go, designed to process and analyze DraftKings export files. It reads CSV files containing player data, such as position, name, salary, game information, and average points per game, and provides useful insights and statistics based on this data.
- Read DraftKings export files in CSV format.
- Analyze player data to provide various statistics (e.g., average points per game, player salary analysis).
- Command-line interface for easy interaction.
- Go (version 1.xx or later) installed on your machine.
-
Clone the repository to your local machine:
git clone https://github.com/schulerjs89/FantasySportsAnalyzer.git
-
Navigate to the cloned directory:
cd FantasySportsAnalyzer
-
Build the project (optional):
go build .
Run the program by specifying the path to the DraftKings export file:
go run . -file=<path_to_csv_file>
Or, if you have built the project:
./FantasySportsAnalyzer -file=<path_to_csv_file>
Replace <path_to_csv_file>
with the actual path to your DraftKings CSV file.
Shows the average points per team
Team: MIL, Average Points: 16.01
Team: DEN, Average Points: 16.36
Team: GSW, Average Points: 17.35
Team: SAS, Average Points: 15.62
This project is licensed under the MIT License - see the LICENSE file for details.