Schedule

class Schedule

schedule/.... Times in the returned events are UTC.

Functions

Link copied to clipboard
suspend fun leagueNext(leagueId: Long): List<Event>
Link copied to clipboard
suspend fun leaguePrevious(leagueId: Long): List<Event>
Link copied to clipboard
suspend fun leagueSeason(leagueId: Long, season: String): List<Event>

A league's whole season in one call (up to 3,000 events). Get the current season name from League.currentSeason.

Link copied to clipboard
suspend fun teamFull(teamId: Long): List<Event>

A team's whole schedule, past and future, across all its competitions.

Link copied to clipboard
suspend fun teamNext(teamId: Long): List<Event>
Link copied to clipboard
suspend fun teamPrevious(teamId: Long): List<Event>
Link copied to clipboard
suspend fun venueNext(venueId: Long): List<Event>
Link copied to clipboard
suspend fun venuePrevious(venueId: Long): List<Event>