Buzzr Sports Engine API
    Preparing search index...

    Type Alias DfsLegGameContext

    Game context attached to each leg. We try to normalize team names but also keep the raw OCR string in raw for round-trip + debugging.

    type DfsLegGameContext = {
        awayScore: number | null;
        awayTeam: string | null;
        clock: string | null;
        dayOfWeek: string | null;
        gameDate: string | null;
        gameId: string | null;
        gameStartTime: string | null;
        homeScore: number | null;
        homeTeam: string | null;
        raw: string;
        startTime: string | null;
        state: "pre" | "live" | "final";
        stateCode: string | null;
    }
    Index

    Properties

    awayScore: number | null
    awayTeam: string | null
    clock: string | null

    Live clock when state='live' (e.g. "Q1 1:19", "1st 00:01").

    dayOfWeek: string | null

    Three-letter day abbreviation as parsed from the slip ("Thu", "Fri"). NULL when missing.

    gameDate: string | null

    Calendar date the game falls on, "YYYY-MM-DD". Derived by walking the slip's day-of-week forward from the placed_at date when present. NULL when the parser couldn't infer a day-of-week.

    gameId: string | null

    Internal games.id, populated when fuzzy-matched.

    gameStartTime: string | null

    Game tipoff time as 24h "HH:MM" parsed from the slip header (e.g. "18:00" for "6pm", "20:40" for "8:40pm"). NULL when not extractable.

    homeScore: number | null
    homeTeam: string | null
    raw: string
    startTime: string | null

    Pre-game start time string when state='pre' (e.g. "8:30pm").

    state: "pre" | "live" | "final"

    'pre' (game not started) | 'live' (in progress) | 'final'

    stateCode: string | null

    Two-letter US state code from slip metadata (e.g. "TX", "NY"), if present.