thesportsdb-client
    Preparing search index...

    Interface Player

    A player, manager or other person. Search and list endpoints fill only some fields; look the player up by id for the rest.

    interface Player {
        agent: string | null;
        alternateName: string | null;
        banner: string | null;
        birthLocation: string | null;
        born: string | null;
        cartoon: string | null;
        college: string | null;
        creativeCommons: boolean | null;
        creativeCommonsAttribution: string | null;
        cutout: string | null;
        deathLocation: string | null;
        description: string | null;
        descriptions: Readonly<Record<string, string>>;
        died: string | null;
        ethnicity: string | null;
        externalIds: PlayerExternalIds;
        fanart: readonly string[];
        gender: string | null;
        height: string | null;
        id: number | null;
        isLocked: boolean | null;
        kind: "Player";
        kit: string | null;
        lastName: string | null;
        loved: number | null;
        managerId: number | null;
        name: string | null;
        nationality: string | null;
        nationalTeamId: number | null;
        number: string | null;
        outfitter: string | null;
        position: string | null;
        poster: string | null;
        raw: RawRecord;
        relevance: number | null;
        render: string | null;
        secondTeam: string | null;
        secondTeamId: number | null;
        side: string | null;
        signed: string | null;
        signing: string | null;
        socials: Socials;
        sport: string | null;
        status: string | null;
        team: string | null;
        teamId: number | null;
        thumb: string | null;
        wage: string | null;
        weight: string | null;
    }

    Hierarchy (View Summary)

    Index
    agent: string | null

    strAgent

    alternateName: string | null

    strPlayerAlternate

    banner: string | null

    strBanner

    birthLocation: string | null

    strBirthLocation

    born: string | null

    dateBorn (YYYY-MM-DD)

    cartoon: string | null

    strCartoon

    college: string | null

    strCollege

    creativeCommons: boolean | null

    strCreativeCommons: whether the artwork is Creative Commons. TheSportsDB's terms say artwork that isn't (false or null) must not be used in published apps.

    creativeCommonsAttribution: string | null

    strCreativeCommonsAttribution: the credit line to show

    cutout: string | null

    strCutout: transparent head-and-shoulders

    deathLocation: string | null

    strDeathLocation

    description: string | null

    The English description.

    descriptions: Readonly<Record<string, string>>

    strDescriptionEN, ... keyed by language code

    died: string | null

    dateDied (YYYY-MM-DD)

    ethnicity: string | null

    strEthnicity

    externalIds: PlayerExternalIds
    fanart: readonly string[]

    strFanart1..strFanart4

    gender: string | null

    strGender

    height: string | null

    strHeight, as text: 1.82 m (6 ft 0 in) or 186 cm

    id: number | null

    idPlayer

    isLocked: boolean | null

    strLocked

    kind: "Player"
    kit: string | null

    strKit: boot or equipment model

    lastName: string | null

    strLastName

    loved: number | null

    intLoved

    managerId: number | null

    idPlayerManager: this person's record as a manager

    name: string | null

    strPlayer

    nationality: string | null

    strNationality

    nationalTeamId: number | null

    idTeamNational

    number: string | null

    strNumber: the shirt number, as text

    outfitter: string | null

    strOutfitter

    position: string | null

    strPosition

    poster: string | null

    strPoster

    raw: RawRecord

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

    relevance: number | null

    relevance: search score (v1 searchplayers.php only)

    render: string | null

    strRender: transparent full body

    secondTeam: string | null

    strTeam2, often the national team

    secondTeamId: number | null

    idTeam2

    side: string | null

    strSide: Left/Right (preferred foot or hand)

    signed: string | null

    dateSigned (YYYY-MM-DD)

    signing: string | null

    strSigning: the fee as text, e.g. £25.20m

    socials: Socials
    sport: string | null

    strSport

    status: string | null

    strStatus, e.g. Active, Retired

    team: string | null

    strTeam

    teamId: number | null

    idTeam

    thumb: string | null

    strThumb

    wage: string | null

    strWage, as text

    weight: string | null

    strWeight, as text