This repository contains scripts to extract and process betting data. The key components include a configuration file, a bet extraction script, and a script to run the bet extraction process.
Note: The project was designed to produce data that could easily be imported into the following worksheet: https://www.aussportsbetting.com/tools/betting-tracker-excel-worksheet/ Open the linked workbook and run the provided VBA script, import_data.bas to import the sport betting information produced from running this project.
config.py
bet_extractor.py
run_bet_extractor.py
This file contains the configuration settings required by the other scripts. It defines parameters such as file paths, database connections, API keys, and any other necessary settings.
Key Components:
- Configuration settings
- Path definitions
- API keys and authentication tokens
This script handles the core functionality of extracting betting data. It contains functions and classes to parse and process the data from various sources.
Key Components:
- Data extraction functions
- Data parsing and processing
- Error handling
This script is the main entry point to run the bet extraction process. It uses the configurations defined in config.py
and the functions in bet_extractor.py
to perform the extraction and processing tasks.
Key Components:
- Initialization of the extraction process
- Integration with configuration settings
- Execution of data extraction and processing
-
Setup Configuration:
- Update the
config.py
file with the necessary configuration settings, such as file paths, API keys, and database connections.
- Update the
-
Run Extraction:
- Execute the
run_bet_extractor.py
script to start the bet extraction process. - Example:
python run_bet_extractor.py
- Execute the
- Python 3.x
- Required libraries (specify the libraries used in your scripts)
-
Clone the repository:
git clone https://github.com/yourusername/bet_extractor.git cd bet_extractor
-
Install the required dependencies:
pip install -r requirements.txt
-
Update the configuration file (
config.py
) with your settings.
This project is licensed under the MIT License - see the LICENSE file for details.