Closed RamParameswaran closed 2 years ago
This may not be necessary anymore due to Team.season_stat(year) classmethod in the Team model.
Although, maybe there is a use-case for querying the entire AFL by season, rather than querying just one team ... Thoughts welcome..!
Closed by PR #13
Description of feature/enhancement
Description of implementation
s = Season(1999)
s.teams
- returns a list of Team objects which were active in this seasons.players
- returns a list of Player objects who were active this seasons.statistics
- returns a single Pandas dataframe with all Team season totals tables concatenated into one dataframes.url
- URL for the season (the argument provided in the init method)Additional context
Player
orTeam
) and URLs (for programmatic scraping of nested pages)