You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fantasy opportunity data - stat_type: "weekly", "pbp_pass", "pbp_rush"
Utilities
Function
Description
get_current_season(roster)
Current NFL season year. If roster=true, uses March 15 cutoff
get_current_week(use_date)
Current NFL week (1-22). If use_date=false, determines from schedule
clear_cache(pattern)
Clear cached data. None clears all
Seasons Parameter
Most loader functions accept seasons: Option<Vec<i32>>:
None - loads the current season
Some(vec![2023]) - loads a single season
Some(vec![2022, 2023]) - loads multiple seasons
Functions that download a single combined file (load_schedules, load_draft_picks, load_combine, load_officials) filter after download. Pass None to get all available seasons.