WSBA Hockey
WSBA Hockey is a Python package for scraping and analyzing hockey data, primarily NHL schedules, play-by-play, shifts, rosters, and statistics.
All tabular scraping functions return Polars DataFrames. API fields that are
lists or structs are encoded as JSON strings so results can be written
directly with DataFrame.write_csv or DataFrame.write_parquet.
Network requests use a synchronous, reusable Scrapy-backed session. Create
one with wsba_hockey.make_pooled_session() when several scraping calls
should share the same session; remote control is disabled because it is not
used by the package client.
- wsba_hockey
- wsba_hockey package
- Subpackages
- Submodules
- wsba_hockey.wsba_main module
nhl_agg_stats()nhl_calculate_stats()nhl_plot_events()nhl_scrape_draft_rankings()nhl_scrape_edge()nhl_scrape_event_data()nhl_scrape_game()nhl_scrape_game_info()nhl_scrape_game_roster()nhl_scrape_player_info()nhl_scrape_prospects()nhl_scrape_roster()nhl_scrape_schedule()nhl_scrape_season()nhl_scrape_seasons()nhl_scrape_seasons_info()nhl_scrape_standings()nhl_scrape_team_info()repo_load_rosters()repo_load_schedule()repo_load_teaminfo()utility_get_schema()utility_get_unique()
- Module contents
- wsba_hockey package