bendominguez0111 / nba-models

NBA Three-Point Model for Sports Betting
https://www.fantasydatapros.com
15 stars 1 forks source link

main.py #3

Closed molhck closed 1 year ago

molhck commented 1 year ago

Hi,

When I tried to run the main.py file, I have a KeyError with my api that I generate from Odds Api. Do I have to put my API elsewhere than the config.py in the odds_api section?

bendominguez0111 commented 1 year ago

In order to pull lines from the odds API, you'll need to get an API key from them first: https://the-odds-api.com.

You will then need to set the API key ODDS_API_KEY either via the command line or by creating a .env file.