An example of how to get the odds for one market of one NBA game today using the Prop_Odds API.
The example code is in main.py
.
- Enter the project.
- Run it.
python3 main.py
. - If that failed, you probably need to install the dependencies with pip.
pip3 install requests
. - Run it again.
python3 main.py
.