nangelov commited on
Commit
58c2ada
·
verified ·
1 Parent(s): e6d9a5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -19,7 +19,7 @@ def getCompetitionInitials(competition_name: str) -> str:
19
  Returns the competition initials (code) for a given competition name.
20
 
21
  Args:
22
- competition (str): The full name of the competition, e.g., "Premier League" or "Bundesliga".
23
 
24
  Returns:
25
  str: The competition code if found, otherwise None.
@@ -52,8 +52,8 @@ def getCompetitionMatchesResultsByDate(competition_code: str, match_date: date)
52
  Gets football match results for a given competition on a specified date.
53
 
54
  Args:
55
- competitionInitials (str): The code of the competition (e.g., 'PL' for Premier League).
56
- match_date (date): The date for which to retrieve match results (format: YYYY-MM-DD).
57
 
58
  Returns:
59
  dict: The JSON response from the API if successful, or an error message.
 
19
  Returns the competition initials (code) for a given competition name.
20
 
21
  Args:
22
+ competition_name: A string representing the full name of the competition, e.g., "Premier League" or "Bundesliga".
23
 
24
  Returns:
25
  str: The competition code if found, otherwise None.
 
52
  Gets football match results for a given competition on a specified date.
53
 
54
  Args:
55
+ competitionInitials: A string representing the code of the competition (e.g., 'PL' for Premier League).
56
+ match_date: A date representing the date for which to retrieve match results (format: YYYY-MM-DD).
57
 
58
  Returns:
59
  dict: The JSON response from the API if successful, or an error message.