fplr - a CLI for Fantasy Premier League in Rust
Browse FPL data comfortably from your terminal.
git clone https://github.com/sakihet/fplr.git
cd fplr
cargo install --path .Set your manager ID to enable personalized commands like my-team and history:
fplr config set manager-id YOUR_MANAGER_ID- Log in to Fantasy Premier League
- Click the "Points" link
- Check the URL:
https://fantasy.premierleague.com/entry/{manager_id}/event/{event_id}
Commands:
availability Show player availability (injuries, suspensions, etc.)
compare Compare two players side-by-side
config Manage configuration
dream-team Show dream team
fixture Show upcoming fixtures
fixture-difficulty-rating Show fixture difficulty rating [aliases: fdr]
fixture-summary Show detailed points summary for a specific fixture
gameweek Show gameweeks
history Show manager's season history
live Show live player stats for a specific event
manager Show a specific manager's team
my-team Show my team
pick Show a manager's team picks for a specific event
player Show players
player-summary Show player summary
set-piece Show set piece takers (penalties, free kicks, corners)
status Show status
table Show league table
talisman Show talisman players
team Show teams
team-availability Show team availability statistics [aliases: ta]
team-ha Show team home/away performance stats
team-form Show team form based on total player form
team-perf Show team performance based on player points per GW
fdr-form Show form-adjusted fixture difficulty rating
team-trend Show team performance trends with sparklines
top Show top teams in the overall league
transfer Show popular transfers
trend Show player performance trends with sparklines
xa Show xA vs Assists analysis (creativity and efficiency)
xg Show xG vs Goals scored analysis (finishing ability and efficiency)
xgc Show xGC vs Goals Conceded analysis
xgi Show xGI vs Goal Involvements (Actual G + A) analysis
help Print this message or the help of the given subcommand(s)