Function reference
-
get_current_gameweek() - Get current gameweek
-
get_fixture_list() - Get fixture list
-
get_fixture_stats() - Get fixture stats
-
get_gameweek_info() - Get gameweek information
-
get_player_cost() - Get the cost for a given player
-
get_player_summary() - Get player summary
-
get_players() - Get players info
-
get_predicted_lineups() - Get predicted lineups for the next game
-
get_teams() - Get list of teams
-
activate_chip()deactivate_chip() - Activate or deactivate one of your chips
-
assign_role() - Assign a captain or vice-captain
-
authenticate() - Authenticate a user for the Fantasy Premier League API
-
get_league() - Get league
-
get_manager_info() - Get information on a manager
-
get_my_leagues() - Get leagues
-
get_my_team() - Get my team
-
get_transfer_targets() - Show all potential replacements for a particular player
-
team_substitute() - Switch the position of two players
-
team_transfer() - Replace a player in your team with a different valid player
-
summarise_team_changes() - Summarise the difference between two team objects
-
update_team() - Update your team
-
global_remove_formatting()global_restore_formatting() - Remove all formatting of team objects for the current session
-
is_team() - Is this object a team object?
-
player_from_id() - Convert player ID to name
-
search_for_player() - Search for a player ID by name
-
team() - Create a new team and validate it
-
team_from_id() - Convert team ID to abbreviation