Player

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

Properties

Link copied to clipboard

strAgent

Link copied to clipboard

strPlayerAlternate

Link copied to clipboard

strBanner

Link copied to clipboard

strBirthLocation

Link copied to clipboard

dateBorn

Link copied to clipboard

strCartoon

Link copied to clipboard

strCollege

Link copied to clipboard

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.

Link copied to clipboard

strCreativeCommonsAttribution: the credit line to show

Link copied to clipboard

strCutout: transparent head-and-shoulders

Link copied to clipboard

strDeathLocation

Link copied to clipboard
Link copied to clipboard

strDescriptionEN, ... keyed by language code

Link copied to clipboard

dateDied

Link copied to clipboard

strEthnicity

Link copied to clipboard
Link copied to clipboard

strFanart1..strFanart4

Link copied to clipboard

strGender

Link copied to clipboard

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

Link copied to clipboard
val id: Long?

idPlayer

Link copied to clipboard

strLocked

Link copied to clipboard
val kit: String?

strKit: boot or equipment model

Link copied to clipboard

strLastName

Link copied to clipboard
val loved: Int?

intLoved

Link copied to clipboard

idPlayerManager: this person's record as a manager

Link copied to clipboard
val name: String?

strPlayer

Link copied to clipboard

strNationality

Link copied to clipboard

idTeamNational

Link copied to clipboard

strNumber: the shirt number, as text

Link copied to clipboard

strOutfitter

Link copied to clipboard

strPosition

Link copied to clipboard

strPoster

Link copied to clipboard

Every field as the API sent it. Use it for fields not modelled yet: team.raw["strKeywords"].

Link copied to clipboard

relevance: search score (v1 searchplayers.php only)

Link copied to clipboard

strRender: transparent full body

Link copied to clipboard

strTeam2, often the national team

Link copied to clipboard

idTeam2

Link copied to clipboard
val side: String?

strSide: Left/Right (preferred foot or hand)

Link copied to clipboard

dateSigned

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard

strSport

Link copied to clipboard

strStatus, e.g. Active, Retired

Link copied to clipboard
val team: String?

strTeam

Link copied to clipboard
val teamId: Long?

idTeam

Link copied to clipboard

strThumb

Link copied to clipboard
val wage: String?

strWage, as text

Link copied to clipboard

strWeight, as text

Functions

Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String