ExFPL.Leagues.Classic (ExFPL v0.1.0)

Copy Markdown View Source

Fetch classic-league standings from /leagues-classic/{league_id}/standings/.

Summary

Functions

Fetch one page of classic-league standings.

Functions

standings(league_id, opts \\ [])

@spec standings(
  integer(),
  keyword()
) :: {:ok, ExFPL.ClassicStandings.t() | map()} | {:error, term()}

Fetch one page of classic-league standings.

Pass page: N (default 1) to paginate; ExFPL returns 50 entries per page. Pass raw: true to receive the raw JSON-decoded map.