Lookup

class Lookup

Lookups by id.

Functions

Link copied to clipboard
suspend fun contracts(playerId: Long): List<Contract>

lookupcontracts.php?id= — a player's contracts. Free key: 1.

Link copied to clipboard
suspend fun equipment(teamId: Long): List<Equipment>

lookupequipment.php?id= — a team's kits over the seasons. Free key: 2.

Link copied to clipboard
suspend fun event(id: Long): Event?

lookupevent.php?id=

Link copied to clipboard
suspend fun eventResults(eventId: Long): List<EventResult>

eventresults.php?id= — every competitor's result in an individual-sport event. Free key: 5.

Link copied to clipboard
suspend fun eventStats(eventId: Long): List<EventStat>

lookupeventstats.php?id= — team statistics for an event. Free key: 5.

Link copied to clipboard
suspend fun eventTv(eventId: Long): List<TvListing>

lookuptv.php?id= — the channels showing an event. Free key: 2.

Link copied to clipboard
suspend fun formerTeams(playerId: Long): List<FormerTeam>

lookupformerteams.php?id= — a player's previous teams. Free key: 5.

Link copied to clipboard
suspend fun honours(playerId: Long): List<Honour>

lookuphonours.php?id= — a player's trophies. Free key: 5.

Link copied to clipboard
suspend fun league(id: Long): League?

lookupleague.php?id=

Link copied to clipboard
suspend fun lineup(eventId: Long): List<LineupEntry>

lookuplineup.php?id= — an event's lineups. Free key: 5.

Link copied to clipboard
suspend fun milestones(playerId: Long): List<Milestone>

lookupmilestones.php?id= — a player's milestones and awards. Free key: 5.

Link copied to clipboard
suspend fun player(id: Long): Player?

lookupplayer.php?id=

Link copied to clipboard
suspend fun playerResults(playerId: Long): List<EventResult>

playerresults.php?id= — an individual-sport player's results. Free key: 5.

Link copied to clipboard
suspend fun playerStats(playerId: Long): List<PlayerStat>

lookupplayerstats.php?id= — a player's season statistics. Free key: 10.

Link copied to clipboard
suspend fun table(leagueId: Long, season: String? = null): List<Standing>

lookuptable.php?l= — the league table. Free key: top 5 rows. Only some leagues have tables (mostly featured soccer leagues). Omit season for the current one.

Link copied to clipboard
suspend fun team(id: Long): Team?

lookupteam.php?id=

Link copied to clipboard
suspend fun timeline(eventId: Long): List<TimelineEntry>

lookuptimeline.php?id= — goals, cards and substitutions. Free key: 5.

Link copied to clipboard
suspend fun venue(id: Long): Venue?

lookupvenue.php?id=