The BrainLedgerLabCompareDraft ValueTracking PullFranchise →

The tracking pull

Pulls the league's own PUBLIC puck and player tracking feed and turns it into data/attributes.json. Everything goes through /api/nhl/, the proxy this site already ships, so there is no terminal, no Python and no key.

Run it

Start with a test. Forty players, nothing saved, and it tells you whether the league's field names still match what this page expects — they are undocumented and have been renamed before.

idle.
The full pull takes roughly fifteen to twenty-five minutes and makes a few thousand proxied requests, so it is deliberately slow and polite. Progress is saved as it goes — close the tab and reopen it and the Download button still has what was gathered. Junior, AHL, NCAA and European prospects come back empty because the feed only covers NHL games; that is expected, not a failure. These numbers are the league's, not ours — they are reported as published and never presented as a DPH measurement.

Then

Put the downloaded file at data/attributes.json in the build, re-zip, and deploy. The app reads it on its own — where a player has measured numbers it uses them and says so, and where he does not it falls back to the model and says that too.