You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For now, don't worry about the more specific information in the dropdown menus or pagination, just write a function to scrape the first 20 teams from the rankings page and input the data into a JSON response.
Function Signature:
getRankings(
competitionLevel=<'College' or 'Club'>,
genderDivision=<'Women' or 'Men' or (for Club only) 'Mixed' >,
)
The link should be: https://play.usaultimate.org/teams/events/team_rankings/?RankSet={competitionLevel}-{genderDivision}
The output format should be:
{
res: "ok" or "not found"
teams: [
{
Rank, Team, Power Rating, Competition Level, Gender Division, Competition Division, College Region, College
Conference, Wins, Losses
},
...
}
for college,
and the same format but with the row headers for club.
The text was updated successfully, but these errors were encountered:
erin2722
changed the title
Rankings Function
Rankings Function (Basic Capabilites)
May 1, 2023
Add a function that scrapes the team rankings page of the USAU website: https://play.usaultimate.org/teams/events/team_rankings/?RankSet=Club-Women
For now, don't worry about the more specific information in the dropdown menus or pagination, just write a function to scrape the first 20 teams from the rankings page and input the data into a JSON response.
Function Signature:
The link should be:
https://play.usaultimate.org/teams/events/team_rankings/?RankSet={competitionLevel}-{genderDivision}
The output format should be:
for college,
and the same format but with the row headers for club.
The text was updated successfully, but these errors were encountered: