Utilities¶
nflreadpy.get_current_season ¶
Get the current NFL season year.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
roster
|
bool
|
If True, uses roster year logic (current year after March 15). If False, uses season logic (current year after Thursday following Labor Day). |
False
|
Returns:
Type | Description |
---|---|
int
|
The current season/roster year. |
Source code in src/nflreadpy/utils_date.py
nflreadpy.get_current_week ¶
Get the current NFL week (rough approximation).
Returns:
Type | Description |
---|---|
int
|
The current NFL week (1-22). |