Implementation Challenges - CSC4790-Fall2024-Org/Sports-Betting-Tool GitHub Wiki

We ran into many challenges throughout the course of implementation during this project.

One issue we encountered was that different sportsbooks ordered the teams differently within each event, some would consistently list the home team first, while others would list the away team first, and others would do it alphabetically. This resulted in odds being mismatched. In order to address this, we had to use string matching rather than just relying on array indices in order to display the odds.

Another issue we had was that we needed to keep current odds across multiple pages without overwhelming our 10 api call per minute limit. In order to address this issue, we implemented a caching system with a 1-hour timeout and manual refresh functionality. This allowed us to keep relatively new data while also not overwhelming the API.