Overview

{fpl} is an {R6} wrapper around the Barclays Fantasy Premier League API.

Installation

You can install:

  • the development version from GitHub with
# install.packages("remotes")
remotes::install_github("nathaneastwood/fpl")

Usage

library(fpl)

fpl <- FPL$new()
team <- fpl$get_team(11)
team_players <- team$get_players()