thesportsdb-client
    Preparing search index...

    Interface LiveScore

    A game in progress (livescore.php, livescore/...).

    interface LiveScore {
        awayScore: number | null;
        awayTeam: string | null;
        awayTeamBadge: string | null;
        awayTeamId: number | null;
        date: string | null;
        division: number | null;
        eventId: number | null;
        eventTime: string | null;
        homeScore: number | null;
        homeTeam: string | null;
        homeTeamBadge: string | null;
        homeTeamId: number | null;
        id: number | null;
        kind: "LiveScore";
        league: string | null;
        leagueId: number | null;
        progress: string | null;
        raw: RawRecord;
        sport: string | null;
        status: EventStatus;
        statusCode: string | null;
        timestamp: Date | null;
        updated: string | null;
    }

    Hierarchy (View Summary)

    Index
    awayScore: number | null

    intAwayScore

    awayTeam: string | null

    strAwayTeam

    awayTeamBadge: string | null

    strAwayTeamBadge

    awayTeamId: number | null

    idAwayTeam

    date: string | null

    dateEvent (YYYY-MM-DD)

    division: number | null

    intDivision

    eventId: number | null

    idEvent

    eventTime: string | null

    strEventTime: kick-off, HH:mm (HH:MM:SS)

    homeScore: number | null

    intHomeScore

    homeTeam: string | null

    strHomeTeam

    homeTeamBadge: string | null

    strHomeTeamBadge

    homeTeamId: number | null

    idHomeTeam

    id: number | null

    idLiveScore

    kind: "LiveScore"
    league: string | null

    strLeague

    leagueId: number | null

    idLeague

    progress: string | null

    strProgress: the minute (soccer) or Final

    raw: RawRecord

    Every field as the API sent it (blank strings as null). Use it for unmodelled fields: team.raw["strKeywords"].

    sport: string | null

    strSport

    status: EventStatus

    The status code read as a broad status.

    statusCode: string | null

    strStatus: the raw code; see [status]

    timestamp: Date | null

    strTimestamp: kick-off, UTC (UTC)

    updated: string | null

    updated: when this score was last refreshed (zone not stated) (YYYY-MM-DDTHH:MM:SS, zone not stated)