thesportsdb-client
    Preparing search index...

    Interface Contract

    A player's contract (lookupcontracts.php, lookup/player_contracts).

    interface Contract {
        badge: string | null;
        id: number | null;
        kind: "Contract";
        player: string | null;
        playerId: number | null;
        raw: RawRecord;
        sport: string | null;
        team: string | null;
        teamId: number | null;
        wage: string | null;
        yearEnd: number | null;
        yearStart: number | null;
    }

    Hierarchy (View Summary)

    Index
    badge: string | null

    strBadge

    id: number | null

    id

    kind: "Contract"
    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"].

    sport: string | null

    strSport

    team: string | null

    strTeam

    teamId: number | null

    idTeam

    wage: string | null

    strWage, as text

    yearEnd: number | null

    strYearEnd

    yearStart: number | null

    strYearStart