API Reference ExFPL v#0.1.0

Copy Markdown View Source

Modules

Elixir client for the unofficial Fantasy Premier League public REST API.

Fetch the global game snapshot from /bootstrap-static/.

ETS-backed cache with per-entry TTL.

Decoded /leagues-classic/{league_id}/standings/ response.

A single entry's standing within a classic league.

Fetch ExFPL manager (entry) data.

An ExFPL manager / team summary as returned by /entry/{team_id}/.

Decoded /entry/{team_id}/history/ response.

A gameweek ("event") as returned by /bootstrap-static/.

A match fixture as returned by /fixtures/.

Fetch fixtures from /fixtures/, optionally filtered by gameweek.

A single head-to-head match between two entries in a gameweek.

Decoded /leagues-h2h/{league_id}/standings/ response.

A single entry's standing within a head-to-head league.

Thin wrapper around Req that handles base URL, retries, telemetry and optional session cookies for ExFPL API requests.

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

Fetch head-to-head league data.

Fetch live gameweek data from /event/{event_id}/live/.

Decoded /event/{event_id}/live/ response.

Decoded /me/ response — information about the authenticated ExFPL user.

Decoded /my-team/{team_id}/ response — the authenticated user's current team selection, chip status, and pending transfer information.

A single pick within an entry's gameweek lineup.

Decoded /entry/{team_id}/event/{gw}/picks/ response.

A player ("element" in ExFPL parlance) as returned by /bootstrap-static/.

Decoded /element-summary/{player_id}/ response.

Fetch per-player history and upcoming fixtures.

Authenticated session for ExFPL API calls.

Decoded /bootstrap-static/ response: the global ExFPL snapshot.

A Premier League team as returned by the ExFPL API.