An open API service indexing awesome lists of open source software.

https://github.com/sakihet/fplr

CLI for Fantasy Premier League
https://github.com/sakihet/fplr

cli fantasy-premier-league football fpl rust

Last synced: 17 days ago
JSON representation

CLI for Fantasy Premier League

Awesome Lists containing this project

README

          

# fplr - a CLI for [Fantasy Premier League](https://fantasy.premierleague.com/) in Rust

Browse FPL data comfortably from your terminal.

## Installation

```sh
git clone https://github.com/sakihet/fplr.git
cd fplr
cargo install --path .
```

## Configuration

Set your manager ID to enable personalized commands like `my-team` and `history`:

```sh
fplr config set manager-id YOUR_MANAGER_ID
```

### Finding your manager ID

1. Log in to [Fantasy Premier League](https://fantasy.premierleague.com/)
2. Click the "Points" link
3. Check the URL: `https://fantasy.premierleague.com/entry/{manager_id}/event/{event_id}`

## Commands

```
Commands:
availability Show player availability (injuries, suspensions, etc.)
compare Compare two players side-by-side
config Manage configuration
dream-team Show dream team
fdr-form Show form-adjusted fixture difficulty rating
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
history-past Show a player's performance in previous seasons
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
region Show regions
set-piece Show set piece takers (penalties, free kicks, corners)
status Show status
swing Show mathematically calculated Fixture Swings
table Show league table
talisman Show talisman players
team Show teams
team-availability Show team availability statistics [aliases: ta]
team-form Show team form based on total player form
team-ha Show team home/away performance stats
team-perf Show team performance based on player points per GW
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)
```