player
player
¶
Player domain object.
Player
dataclass
¶
Player(
id: int,
name: str,
team: str,
position: str,
price: float,
timeseries: DataFrame,
news: Optional[dict] = None,
)
Represents a Fantasy Premier League player.
| ATTRIBUTE | DESCRIPTION |
|---|---|
id |
Unique player identifier
TYPE:
|
name |
Player full name
TYPE:
|
team |
Current team
TYPE:
|
position |
Position (GK, DEF, MID, FWD)
TYPE:
|
price |
Current price in FPL
TYPE:
|
timeseries |
Historical stats (points, xG, minutes, etc.)
TYPE:
|
news |
Latest news/injury information
TYPE:
|