Football Arber is a Python-based arbitrage betting tool for soccer matches. It collects odds from various bookmakers and analyzes them to find potential arbitrage opportunities.
- Collects odds from multiple bookmakers (currently Winamax and Zebet)
- Supports multiple soccer leagues and competitions
- Calculates arbitrage opportunities
- Updates league data in JSON format
-
Clone the repository:
git clone https://github.com/yourusername/football-arber.git cd football-arber
-
Install the required dependencies:
pip install -r requirements.txt
-
Set up your environment variables: Create a
.env
file in the root directory and add your Odds API key:ODDS_API=your_api_key_here
Run the main script:
python main.py
This will process the configured competitions, fetch odds from supported bookmakers, and update the league data files.
arb_calculator.py
: Contains the main logic for calculating arbitrage opportunitiesfile_grabber.py
: Fetches odds data from the Odds APImain.py
: The main script that orchestrates the odds collection and analysis processbookmakers/
: Contains modules for each supported bookmakerwinamax/
: Winamax odds fetcherzebet/
: Zebet odds fetcher
utils/
: Utility functions and configurationsupdate_leagues.py
: Updates league JSON files with new odds dataleague_info.py
: Contains information about supported leaguesconfig.py
: Configuration settings for the project
To add a new bookmaker:
- Create a new module in the
bookmakers/
directory - Implement the
get_games()
function that returns a list of games with their odds - Update the
main.py
script to include the new bookmaker
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open source and available under the MIT License.
This tool is for educational purposes only. Be aware that arbitrage betting may be against the terms of service of some bookmakers. Use at your own risk.