V1Lists

inner class V1Lists

CompletableFuture versions of V1Api.Lists.

Functions

Link copied to clipboard

all_countries.php: names and flags. Free key: 50.

Link copied to clipboard

all_leagues.php: id, name and sport (plus alternate names with a premium key). Free key: 5.

fun leagues(country: String, sport: String? = null): CompletableFuture<List<League>>

search_all_leagues.php?c=&s= — full league records in a country, optionally for one sport. Free key: 5–10.

Link copied to clipboard

lookup_all_players.php?id= — a team's squad. Free key: 10.

Link copied to clipboard
fun seasons(leagueId: Long, badges: Boolean = false, posters: Boolean = false, descriptions: Boolean = false): CompletableFuture<List<Season>>

search_all_seasons.php?id= — a league's seasons. Season names alone unless you ask for badges, posters or descriptions (one per request). Free key: 5.

Link copied to clipboard

all_sports.php. Free key: 2.

Link copied to clipboard

search_all_teams.php?s=&c= — every team of a sport in a country. Free key: 10.

Link copied to clipboard

search_all_teams.php?l= — every team in a league, by league name. Free key: 10.