Aktraiser commited on
Commit
2ae321f
·
verified ·
1 Parent(s): b329fbc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def get_nba_matches() -> str:
36
  today = datetime.date.today().strftime("%Y-%m-%d")
37
  # Construct the URL using the required parameters.
38
  # Based on the API info, the URL should include the sport-id (here 4 for NBA) and the event date.
39
- url = f"https://api.apilayer.com/therundown/sports/4/openers/{today}"
40
 
41
  headers = {
42
  "apikey": "7k4hKSUeWkbigKxZiNV5CQ8RSlEd72Cj"
 
36
  today = datetime.date.today().strftime("%Y-%m-%d")
37
  # Construct the URL using the required parameters.
38
  # Based on the API info, the URL should include the sport-id (here 4 for NBA) and the event date.
39
+ url = f"https://api.apilayer.com/therundown/sports/4/openers/{today}?offset=0&include=scores"
40
 
41
  headers = {
42
  "apikey": "7k4hKSUeWkbigKxZiNV5CQ8RSlEd72Cj"