View source: R/player_functions.R
get_player_id | R Documentation |
This function fetches the FPL ID of a player given the player's full name. If blank, the function fetches all current players.
get_player_id(name = NULL)
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(). |
get_player_id(name="Virgil van Dijk")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.