thesportsdb-client
    Preparing search index...

    Interface Honour

    A trophy a player won (lookuphonours.php, lookup/player_honours).

    interface Honour {
        honourId: number | null;
        id: number | null;
        kind: "Honour";
        leagueId: number | null;
        logo: string | null;
        name: string | null;
        player: string | null;
        playerId: number | null;
        raw: RawRecord;
        season: string | null;
        sport: string | null;
        team: string | null;
        teamBadge: string | null;
        teamId: number | null;
        trophy: string | null;
    }

    Hierarchy (View Summary)

    Index
    honourId: number | null

    idHonour: the honour itself, shared by everyone who won it

    id: number | null

    id: this record

    kind: "Honour"
    leagueId: number | null

    idLeague

    logo: string | null

    strHonourLogo

    name: string | null

    strHonour, e.g. Copa Libertadores

    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

    team: string | null

    strTeam

    teamBadge: string | null

    strTeamBadge

    teamId: number | null

    idTeam

    trophy: string | null

    strHonourTrophy