nhl-bigquery ingests NHL play-by-play into BigQuery, writing six related tables in lockstep per chunk. Its standout feature: each play carries the on-ice player IDs for both teams, reconstructed by merging the play-by-play feed against shift-charts that live on a different (legacy) NHL API host.
pip install nhl-bigquery
gcloud auth application-default login
nhl-bigquery sync \
--start 2024-10-01 --end 2025-06-30 \
--plays-table myproject.mydataset.nhl_plays
# resumable backfill in monthly chunks
nhl-bigquery sync --start 2010-10-01 --end 2026-05-11 \
--plays-table myproject.mydataset.nhl_plays