Skip to main content

sdv.nhl — ESPN reference

  • namespace: sdv.nhl
  • sport slug: hockey
  • league slug: nhl
  • scopes: universal
  • wrappers: 110

sdv.nhl is composed from written, documented source (src/generated/espn/nhl.ts) — a phased proof of converting the runtime wrapper factory into reviewable modules. Every endpoint is a real export const with JSDoc, callable as sdv.nhl.espnNhl<Endpoint>(params) and under its snake_case alias (espn_nhl_<endpoint>) for parity with the Python / R packages.

import sdv from 'sportsdataverse';

await sdv.nhl.espnNhlScoreboard({});

Reference families

Endpoints are grouped by ESPN API family. Pick a page for its per-function reference (endpoint URL, params, returns, example):

Familyendpoints
Site API24
Core API81
Web API5
Native API127

Parsed output: pass { parsed: true } to any endpoint to get tidy rows instead of raw JSON. The columns are determined by each endpoint's parser — see ESPN parsed returns for the full column reference.