get_player_id: get_player_id

View source: R/player_functions.R

get_player_idR Documentation

get_player_id

Description

This function fetches the FPL ID of a player given the player's full name. If blank, the function fetches all current players.

Usage

get_player_id(name = NULL)

Arguments

name

The player's full name, as listed on the official Fantasy Premier League site (for instance: "Richarlison de Andrade", not "Richarlison". You can list multiple, e.g. with c().

Examples

get_player_id(name="Virgil van Dijk")

wiscostret/fplscrapR documentation built on June 12, 2022, 8:03 a.m.