A Python script that makes it easy to analyze the receipts received from Epic Games. Automatically extracts data from your game library and creates an easily searchable CSV file. The project also includes tools to generate interactive graphs that provide in-depth insights.
- Clone the repository:
git clone https://github.com/Tugamer89/EpicGamesLibraryAnalytics.git cd epic-games-data-analyzer
- Install the required dependencies:
pip install -r requirements.txt
- Place your Epic Games receipts emails (.eml files) in the
emls
folder. - Run the
runner.py
script:This script performs the following tasks:python runner.py
- Extracts receipts and data from emails (
emailToCsv.py
). - Calculates the price and creates multiple CSV files (
priceFixer.py
). - Generates insightful plots based on the extracted data (
plotter.py
).
- Extracts receipts and data from emails (
- Find the results in the
output.csv
file and the generated plots in theimages
folder.
You can find examples of the generated plots in the images
folder of this repository.
emailToCsv.py
: Processes Epic Games emails, extracts HTML content, and converts it into a CSV file (output.csv).priceFixer.py
: Fixes and updates prices using web scraping and Google search queries. Please note that this process might take a considerable amount of time as it involves making one or two requests to Google for games with null prices (e.g., free games or games without the price in the receipt). Note: Be mindful of potential rate limiting or restrictions imposed by Google on automated queries.plotter.py
: Creates various plots, including price trends over time, average prices by month, average prices by distributor, distributors over time, and the number of orders over time.
Feel free to contribute or provide feedback!
This tool is for personal use, and usage may be subject to Epic Games' terms and conditions. Use responsibly.