/** * Parse `nhl_api_web_pbp()` into one row per play. * * Walks `payload.plays` (~330 plays/game) and deep-flattens each play's nested * `periodDescriptor` / `details` sub-dicts. Plays are identified by `eventId` + * `sortOrder` and typed via `typeCode` / `typeDescKey`. */ export declare function parse_nhl_web_pbp(raw: any): Record[]; /** * Parse `nhl_api_web_boxscore()` into one row per (team × player). * * Boxscore ships `playerByGameStats: {awayTeam: {forwards, defense, goalies}, * homeTeam: {...}}`. Walks all six (team × position-group) buckets and tags * each row with `home_away` ("home"/"away") and `position_group` * ("forwards"/"defense"/"goalies") so the output is one tidy long-form frame. */ export declare function parse_nhl_web_boxscore(raw: any): Record[]; /** * Parse `nhl_api_web_landing()` into a single-row game profile. The nested * `summary` sub-dict (scoring / threeStars / penalties) is stringified to keep * the output one row per call. */ export declare function parse_nhl_web_landing(raw: any): Record[]; /** * Parse `nhl_api_web_right_rail()` into one row per head-to-head game. * * The right-rail endpoint exposes several independent sub-frames * (`seasonSeries`, `shotsByPeriod`, `teamGameStats`, `gameInfo`, * `linescore.byPeriod`, `seasonSeriesWins`). The Python parser is a dispatcher * that returns all of them keyed by section; in the flat-API single-frame * contract this returns the PRIMARY sub-frame, `seasonSeries`. */ export declare function parse_nhl_web_right_rail(raw: any): Record[]; /** * Parse `nhl_api_web_schedule()` / `_schedule_calendar()` into one row per * scheduled game. * * Input: `{gameWeek: [{date, dayAbbrev, numberOfGames, games: [...]}, ...]}`. * Walks every `gameWeek[].games[]` and prefixes the day's `date` onto each game * row as `schedule_date`. */ export declare function parse_nhl_web_schedule(raw: any): Record[]; /** * Parse `nhl_api_web_score()` into one row per game for the date. Shape: * `{currentDate, games: [...], gameWeek: [...]}` — the `games` array flattened. */ export declare function parse_nhl_web_score(raw: any): Record[]; /** * Parse `nhl_api_web_club_schedule_season()` / `_month()` / `_week()` into one * row per game. * * All three club-schedule endpoints share the `{games: [...]}` payload shape * plus a few context fields (`currentSeason`, `previousSeason`, `nextSeason`, * `clubTimezone`). The context fields are prefixed onto each row as `club_*`. */ export declare function parse_nhl_web_club_schedule(raw: any): Record[]; /** Parse `nhl_api_web_standings()` into one row per team. */ export declare function parse_nhl_web_standings(raw: any): Record[]; /** Parse `nhl_api_web_standings_season()` into one row per season. */ export declare function parse_nhl_web_standings_season(raw: any): Record[]; /** * Parse `nhl_api_web_club_stats()` / `_club_stats_season()` into one row per * skater. * * The payload ships `{skaters: [...], goalies: [...]}`. The Python parser is a * dispatcher returning both keyed by section; in the flat-API single-frame * contract this returns the PRIMARY sub-frame, `skaters`. */ export declare function parse_nhl_web_club_stats(raw: any): Record[]; /** * Parse `nhl_api_web_roster()` / `_roster_season()` into one row per player. * * Shape: `{forwards: [...], defensemen: [...], goalies: [...]}`. Merges all * three position groups with a `position_group` column so the output is one * long-form frame instead of three. */ export declare function parse_nhl_web_roster(raw: any): Record[]; /** * Parse `nhl_api_web_player_landing()` into a single-row player profile. Nested * `featuredStats` / `careerTotals` / `last5Games` sub-frames are stringified. */ export declare function parse_nhl_web_player_landing(raw: any): Record[]; /** * Parse `nhl_api_web_player_game_log()` into one row per game. Walks * `payload.gameLog` (~76 games/season for a regular skater). */ export declare function parse_nhl_web_player_game_log(raw: any): Record[]; /** * Parse `nhl_api_web_skater_leaders()` / `_goalie_leaders()` into one row per * (category × player). * * The leaders payloads are keyed by stat category at the top level — e.g. * `{points: [<10 player rows>], goals: [...], ...}` for skaters; `{wins: [...], * savePctg: [...]}` for goalies. Walks every top-level list-valued key, tags * each row with the `category` it came from, and concatenates. */ export declare function parse_nhl_web_leaders(raw: any): Record[]; /** Parse `nhl_api_web_draft_picks()` (and `_now` variants) into one row per pick. */ export declare function parse_nhl_web_draft_picks(raw: any): Record[]; /** * Parse `nhl_api_web_player_spotlight()` into one row per featured player. The * `/v1/player-spotlight` endpoint returns a bare top-level JSON array. */ export declare function parse_nhl_web_player_spotlight(raw: any): Record[]; /** * Parse `nhl_api_web_draft_rankings()` / `_now()` into one row per prospect. * * Input: `{draftYear, categoryId, categoryKey, rankings: [...]}`. Each * `rankings[]` row is flattened and prefixed with the draft-year / category * context so a row carries both the prospect and which board it came from. */ export declare function parse_nhl_web_draft_rankings(raw: any): Record[]; /** * Parse `nhl_api_web_playoff_series()` into one row per series game. * * Input: `{round, seriesLetter, topSeedTeam, bottomSeedTeam, games: [...]}`. * Emits one row per game prefixed with series context (round, series letter, * top/bottom seed team ids + abbrevs). */ export declare function parse_nhl_web_playoff_series(raw: any): Record[]; //# sourceMappingURL=nhl_api_web.d.ts.map