Event

A game, match, race or other event. Also used for video highlights.

Schedules and lists fill fewer fields than a lookup by id: v1 eventsseason.php and v2 schedule/... leave out descriptions, officials, spectators and the like.

Times: timestamp, date and time are UTC. localDate and localTime are the venue's local time and are often missing for future events.

Properties

Link copied to clipboard

strEventAlternate, e.g. Chelsea @ Arsenal

Link copied to clipboard

idAPIfootball

Link copied to clipboard

intAwayScore

Link copied to clipboard

intAwayScoreExtra

Link copied to clipboard

strAwayTeam

Link copied to clipboard

strAwayTeamBadge

Link copied to clipboard

idAwayTeam

Link copied to clipboard

strBanner

Link copied to clipboard
val city: String?

strCity

Link copied to clipboard

strCountry

Link copied to clipboard

dateEvent (UTC)

Link copied to clipboard

strDescriptionEN

Link copied to clipboard

strFanart

Link copied to clipboard

strFilename: {league} {date} {home} vs {away}, searchable with searchfilename.php

Link copied to clipboard

strGroup: a cup group or conference

Link copied to clipboard

intHomeScore: null until the event has a score

Link copied to clipboard

intHomeScoreExtra: extra time or shoot-out

Link copied to clipboard

strHomeTeam

Link copied to clipboard

strHomeTeamBadge

Link copied to clipboard

idHomeTeam

Link copied to clipboard
val id: Long?

idEvent

Link copied to clipboard

strLocked

Link copied to clipboard

strPostponed

Link copied to clipboard

strLeague

Link copied to clipboard

strLeagueBadge

Link copied to clipboard

idLeague

Link copied to clipboard

dateEventLocal: the venue's local date

Link copied to clipboard

strTimeLocal: the venue's local time

Link copied to clipboard
val map: String?

strMap

Link copied to clipboard
val name: String?

strEvent, e.g. Arsenal vs Chelsea

Link copied to clipboard

strOfficial: the referee

Link copied to clipboard

strPoster

Link copied to clipboard

intScore: the users' rating of the event

Link copied to clipboard

intScoreVotes

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

strResult: free-text result, sometimes with HTML <br>

Link copied to clipboard
val round: Int?

intRound: matchday or round number, or a stage code (125 quarter-final … 500 pre-season); see stage

Link copied to clipboard

strSeason

Link copied to clipboard

intSpectators

Link copied to clipboard

strSport

Link copied to clipboard

strSquare

Link copied to clipboard

The stage when round is a stage code (e.g. 200 = final), or null for an ordinary round.

Link copied to clipboard

statusCode read as a broad status.

Link copied to clipboard

strStatus: the raw code (NS, 2H, FT, Q3, PST...); see status

Link copied to clipboard

strThumb

Link copied to clipboard

strTime (UTC)

Link copied to clipboard

strTimestamp: the start time (UTC)

Link copied to clipboard

strTweet1

Link copied to clipboard

strVenue

Link copied to clipboard

idVenue

Link copied to clipboard

strVideo: a highlights video, usually YouTube

Link copied to clipboard

strWeather

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