Rayen-Mohad commited on
Commit
1a66a41
·
verified ·
1 Parent(s): 113c5a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def get_today_football_matches() -> str:
30
 
31
  today = datetime.today().strftime('%Y-%m-%d')
32
  api_url = f"https://api.football-data.org/v4/matches?dateFrom={today}&dateTo={today}"
33
- headers = {"X-Auth-Token": " GET https://api.football-data.org/v4/matches"} # Replace with your actual API key
34
 
35
  try:
36
  response = requests.get(api_url, headers=headers)
 
30
 
31
  today = datetime.today().strftime('%Y-%m-%d')
32
  api_url = f"https://api.football-data.org/v4/matches?dateFrom={today}&dateTo={today}"
33
+ headers = {"X-Auth-Token": "GET https://api.football-data.org/v4/matches"} # Replace with your actual API key
34
 
35
  try:
36
  response = requests.get(api_url, headers=headers)