The USAU scraper is a data collector that allows developers to easily aggregate and use team results, rosters, and schedule data from the USAU website.
Project description
The USAU scraper is a data collector that allows developers to easily aggregate and use team results, rosters, and schedule data from the USAU website.
Overview
USAU (USA Ultimate) is the governing body of ultimate frisbee, and its website (which is notoriously hard to navigate) contains all of the information about high school, college, and club ultimate frisbee teams. Right now, there is no easy way to access this data. USAU scraper solves this problem by scraping the USAU website for data and therefore allowing other developers to easily use the data on the USAU site. This project will open the door to more data analytic projects concerning ultimate frisbee.
Installation
pip install --upgrade usau-scraper
Example Usage
from usau_scraper import *
# Get a team's basic information
print(getTeamInfo(
schoolName = 'Columbia',
teamName = 'Baewatch',
genderDivision='Women',
state='NY',
competitionLevel='College',
competitionDivision='Division 1',
teamDesignation='B'))
# Get a team's schedule for the current season
print(getTeamSchedule(schoolName='Columbia', teamName='Curbside'))
# Get a team's roster for the current season
print(getTeamRoster(schoolName='Columbia', teamName='Curbside'))
# Get the pool play results for a tournament
print(getTournamentPoolPlayResults("College", "Women", eventName="No Sleep Till Brooklyn", season=2023))
# Get the bracket results for a tournament
print(getTournamentBracketResults("College", "Women", eventName="Centex", season=2022))
# Get the winner for a tournament
print(getTournamentWinner("College", "Women", eventName="Stanford Invite", season=2023))
# Get the top 20 women's college teams
print(getCollegeRankings(genderDivision="Women"))
# Get the top 20 women's club teams
print(getClubRankings(genderDivision="Women"))
Additional usage examples are in this notebook.
Features (MVP)
- A function that, given a team name, returns basic information about them.
- A function that, given a team name, returns their schedule and record.
- A function that, given a team name, returns its roster.
- A function that, given a tournament name, returns the results of the tournament.
Additional features
- A function that, given a college division, returns the current standings of that division.
- An additional plugin to ultiworld to show recent articles given a team name or college division.
- More features tbd!
Possible Applications
- A seeding helper that, given a list of team names, returns their records for the season and their record against top 25 teams.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file usau-scraper-0.4.0.tar.gz
.
File metadata
- Download URL: usau-scraper-0.4.0.tar.gz
- Upload date:
- Size: 602.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 224b1ee96b4ef1f4d3255df192b21753ad65698bd454fbd95f27c8eac7cca21b |
|
MD5 | b9c3007757269bba5223c6353bf9fbde |
|
BLAKE2b-256 | fa7beebb82c84d91114605016352c27806fd361a25372e412ec15d600967e619 |
File details
Details for the file usau_scraper-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: usau_scraper-0.4.0-py3-none-any.whl
- Upload date:
- Size: 27.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | edcf88529e0191b9118c131104422cecdbeff58bd207b461f452eb59cbc0dc06 |
|
MD5 | ab04471b059a4e45499ecb952f8fc025 |
|
BLAKE2b-256 | d6dacb9273c4f36ae5cad2c6486b688bc9aa2bcfe00170ece6d63df82987171a |