chris-clippd commited on
Commit
9c0968c
·
verified ·
1 Parent(s): 827f965

Added argument definition for num_teams to docstring

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -16,6 +16,7 @@ def get_top_ranked_teams(division:str, gender:str, num_teams:int)-> List[dict]:
16
  Args:
17
  division: A string representing the division. This can only take values from ["NCAA Division I", "NCAA Division II", "NCAA Division III].
18
  gender: A string representing the gender. This can only take values from ["Women", "Men"].
 
19
  """
20
  api_url = f"https://scoreboard.clippd.com/api/rankings/leaderboard?rankingType=Team&gender={gender}&division={division}&sortField=rank&season=2025&limit={num_teams}&offset=0"
21
  headers = {
 
16
  Args:
17
  division: A string representing the division. This can only take values from ["NCAA Division I", "NCAA Division II", "NCAA Division III].
18
  gender: A string representing the gender. This can only take values from ["Women", "Men"].
19
+ num_teams: An integer representing the top N teams for which information will be returned.
20
  """
21
  api_url = f"https://scoreboard.clippd.com/api/rankings/leaderboard?rankingType=Team&gender={gender}&division={division}&sortField=rank&season=2025&limit={num_teams}&offset=0"
22
  headers = {