League Name
#360
-
Is the name of the league available anywhere? I thought it would be available on the league object but it doesn't appear so.. maybe I'm just glancing over the right attribute 🤔 league = init_league(...)
print(dir(league))
['__abstractmethods__',
'__class__',
'__delattr__',
'__dict__',
'__dir__',
'__doc__',
'__eq__',
'__format__',
'__ge__',
'__getattribute__',
'__gt__',
'__hash__',
'__init__',
'__init_subclass__',
'__le__',
'__lt__',
'__module__',
'__ne__',
'__new__',
'__reduce__',
'__reduce_ex__',
'__repr__',
'__setattr__',
'__sizeof__',
'__slots__',
'__str__',
'__subclasshook__',
'__weakref__',
'_abc_impl',
'_fetch_draft',
'_fetch_league',
'_fetch_players',
'_fetch_teams',
'_get_positional_ratings',
'_get_pro_schedule',
'box_scores',
'currentMatchupPeriod',
'current_week',
'draft',
'espn_request',
'fetch_league',
'firstScoringPeriod',
'free_agents',
'get_team_data',
'league_id',
'least_scored_week',
'least_scorer',
'load_roster_week',
'logger',
'most_points_against',
'nfl_week',
'player_info',
'player_map',
'power_rankings',
'recent_activity',
'refresh',
'scoreboard',
'scoringPeriodId',
'settings',
'standings',
'teams',
'top_scored_week',
'top_scorer',
'year'] |
Beta Was this translation helpful? Give feedback.
Answered by
dtcarls
Sep 14, 2022
Replies: 1 comment 2 replies
-
league.settings.name |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
cwendt94
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
league.settings.name