Lookup

class Lookup

lookup/...: full records by id.

Functions

Link copied to clipboard
suspend fun event(id: Long): Event?
Link copied to clipboard
suspend fun eventHighlights(eventId: Long): List<Event>

An event with its highlight video in Event.video.

Link copied to clipboard
suspend fun eventLineup(eventId: Long): List<LineupEntry>
Link copied to clipboard
suspend fun eventResults(eventId: Long): List<EventResult>
Link copied to clipboard
suspend fun eventStats(eventId: Long): List<EventStat>
Link copied to clipboard
suspend fun eventTimeline(eventId: Long): List<TimelineEntry>
Link copied to clipboard
suspend fun eventTv(eventId: Long): List<TvListing>

The channels showing an event.

Link copied to clipboard
suspend fun league(id: Long): League?
Link copied to clipboard
suspend fun player(id: Long): Player?
Link copied to clipboard
suspend fun playerContracts(playerId: Long): List<Contract>
Link copied to clipboard
suspend fun playerHonours(playerId: Long): List<Honour>
Link copied to clipboard
suspend fun playerMilestones(playerId: Long): List<Milestone>
Link copied to clipboard
suspend fun playerResults(playerId: Long): List<EventResult>
Link copied to clipboard
suspend fun playerStats(playerId: Long): List<PlayerStat>
Link copied to clipboard
suspend fun playerTeams(playerId: Long): List<FormerTeam>

A player's former teams (v1 calls these formerteams).

Link copied to clipboard
suspend fun team(id: Long): Team?
Link copied to clipboard
suspend fun teamEquipment(teamId: Long): List<Equipment>
Link copied to clipboard
suspend fun venue(id: Long): Venue?