thesportsdb-client
    Preparing search index...

    Interface PlayerStat

    One statistic for a player in one season (lookupplayerstats.php, lookup/player_stats).

    interface PlayerStat {
        id: number | null;
        kind: "PlayerStat";
        league: string | null;
        leagueBadge: string | null;
        leagueId: number | null;
        numericValue: number | null;
        player: string | null;
        playerId: number | null;
        raw: RawRecord;
        season: string | null;
        sport: string | null;
        statistic: string | null;
        team: string | null;
        teamBadge: string | null;
        teamId: number | null;
        value: string | null;
    }

    Hierarchy (View Summary)

    Index
    id: number | null

    id

    kind: "PlayerStat"
    league: string | null

    strLeague

    leagueBadge: string | null

    strLeagueBadge

    leagueId: number | null

    idLeague

    numericValue: number | null

    value as a number, when it is one.

    player: string | null

    strPlayer

    playerId: number | null

    idPlayer

    raw: RawRecord

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

    season: string | null

    strSeason

    sport: string | null

    strSport

    statistic: string | null

    strStatistic, e.g. Goals, Appearances, Mins Played

    team: string | null

    strTeam

    teamBadge: string | null

    strTeamBadge

    teamId: number | null

    idTeam

    value: string | null

    strValue, as text