The app was mainly inspired by my Business of Sports elective in school. We learned about the sports betting and gambling side of sports business and wanted to use this project to see more about the odds.
What it does
You enter the team you are looking to get more information about. The program will return you information including the team's next game and the odds of them winning it. It also allows you to enter your phone number if you want to get an update regarding the game.
How I built it
I used Python's requests library to interact with various APIs along with BeautifulSoup to scrape things such as team schedules and game odds as I could not find an API for that. It runs in the terminal and uses basic input and output.
Challenges I ran into
At first, I had a totally different idea and eventually decided on this project instead. In regard to the project itself, I was unable to find APIs for the game schedules and odds that were easy to use and understand so I had to scrape websites myself. Other than that, I had to be reminded of how to use Twilio's API for the SMS sending.
Accomplishments that I'm proud of
The app is fully operational and does everything it was planned to do. I have a fully working app that can be used in real life and applied for real-life situations.
What I learned
I learned that it is important to improvise when what you had planned does not work exactly (due to my issues with the game schedule API). I also learned that it is important to keep working and not give up after your original ideas don't work.
What's next for NBA Gambles
I hope to possibly implement AI in order to create more accurate odds for the games. I also want to possibly turn this into a full mobile app in order to have this all accessible at the touch of a button.