Retrieve league information for a user in the current FPL season, obtained via the user entry history endpoint.

fpl_get_user_leagues(user_id)

Arguments

user_id

user ID (found in a user's team page URL on the main FPL site).

Value

a list

Examples

fpl_get_user_leagues(user_id = 3808385)
#> NULL