This repository contains source code allowing the user to simulate betting on American college football games in the terminal. It utilizes the CFBD JavaScript API. For more information regarding the CFBD APIs and databases, please refer to this link. This program offers the same functionality provided by the College-Football-Betting-Python repository. For more information about functionality, please refer to that repository.
You can simply clone this reposity and run the script by accessing the app directory and running node index.js
, assuming you have a CFBD API key, created a .env file with a api-token='<API-KEY>'
entry, and have Node installed. To install the required Node packages, run npm install
.
Two bet types are used in this program: point spread bets and total point bets (also known as over/under bets). For more information regarding the mechanics of these bets, refer to this link.
This program provides a high-level framework for creating betting apps using the CFBD API. It could be further improved by adding UI, user error handling, etc. Currently, there are no further improvements expected to be implemented.
Imagery from Flaticon.com