nhl-hut-bigquery snapshots EA NHL Ultimate Team player ratings into BigQuery, unifying HUT's separate skater and goalie endpoints into one snapshot-typed table, and ships the same SQL/LLM-agent docs as its sibling libraries. Its distinguishing feature is a cross-source resolver: every card carries an accent-folded normalized name and a match ladder that links HUT cards to NHL player IDs — so EA's subjective ratings can sit alongside real NHL play-by-play from nhl-bigquery.
pip install nhl-hut-bigquery
gcloud auth application-default login
# 1. snapshot today's HUT ratings (skaters + goalies)
nhl-hut-bigquery sync \
--table myproject.mydataset.hut_player_ratings
# 2. resolve HUT cards to NHL player IDs
nhl-hut-bigquery resolve-ids \
--xref-table myproject.mydataset.hut_player_xref \
--hut-table myproject.mydataset.hut_player_ratings \
--nhl-boxscore-table myproject.mydataset.boxscore_stats --season 2024
# 3. how much NHL ice-time does the snapshot cover?
nhl-hut-bigquery verify --aggregation hut-coverage \
--xref-table myproject.mydataset.hut_player_xref \
--nhl-boxscore-table myproject.mydataset.boxscore_stats --season 2024