Package-level declarations
Typed records. Values are parsed leniently: anything missing, blank or malformed is null. Times in timestamp properties are UTC. Every model keeps the original fields in raw.
Types
One competitor's result in an individual-sport event: a race, a golf tournament, a fight. Returned both per player (playerresults.php) and per event (eventresults.php).
A broad reading of a strStatus code, so you don't need every sport's codes. Covers the codes in TheSportsDB's data documentation (docs_api_data) for every sport.
A team a player used to play for (lookupformerteams.php, lookup/player_teams).
One player in an event's lineup (lookuplineup.php, lookup/event_lineup).
Ids of the same player in other databases.
One statistic for a player in one season (lookupplayerstats.php, lookup/player_stats).
The stage a special intRound value stands for. TheSportsDB uses these codes in place of a round number (docs_api_data); any other value is an ordinary round number.
One season poster or badge uploaded for a league (v2 list/seasonposters). A season can have several; each is a separate piece of artwork with its own id.
A goal, card or substitution during an event (lookuptimeline.php, lookup/event_timeline).