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.