/fpl

{fpl} provides access to the Barclays Fantasy Premier League API

Primary LanguageRMIT LicenseMIT

{fpl}

CRAN status Dependencies CRAN downloads check_cran

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()

Related Work

  • fpl - a Python FPL API wrapper.
  • {fplscrapR} - A functional FPL API wrapper.