Sports analytics with API data
Use Neurokeff for sports analytics with normalised V2 statistics, players, periods, results and reproducible historical datasets.
Separate observations from derived metrics
Fetch team metrics from /api/v2/games/statistics and participant metrics from /api/v2/games/players. Preserve type.code, units, period and value from the normalised structure. Percentages, totals and averages require different aggregation rules. Calculate your own metrics separately and store the formula with the dataset version.
Create a reproducible dataset
Select finished games by date and league, fetch every page and store game_id with the retrieval time. If your analysis requires played games, exclude postponed and cancelled events according to time_status. Treat available: false as a missing observation; use zero only when the value field actually contains zero.
Compare data in the same context
Join participants by id and restrict comparisons to a defined competition and season. Normalise V1 and V2 data into one model before combining them. Keep source responses separate from cleaned tables so corrections or metric-definition changes can be traced and recalculated.
