Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def get_nba_matches() -> str:
|
|
42 |
Returns:
|
43 |
A string containing a human-readable list of upcoming games.
|
44 |
"""
|
45 |
-
url = "https://api.apilayer.com/therundown/
|
46 |
headers = {
|
47 |
"apikey": "7k4hKSUeWkbigKxZiNV5CQ8RSlEd72Cj"
|
48 |
}
|
|
|
42 |
Returns:
|
43 |
A string containing a human-readable list of upcoming games.
|
44 |
"""
|
45 |
+
url = "https://api.apilayer.com/therundown/sports/4/events" # Replace with the NBA-specific endpoint if available.
|
46 |
headers = {
|
47 |
"apikey": "7k4hKSUeWkbigKxZiNV5CQ8RSlEd72Cj"
|
48 |
}
|