get_team_stats_by_week fails when there is no team_projected_points for a league(for an ended league) #74
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #64
Might also help for #60
So the response in my case looks like:

Tests seem to work fine afterwards:

Edit:
I also added a new feature to get stats from multiple team in one request for given week:
def get_teams_stats_by_week(self, team_ids: List[Union[str, int]], chosen_week: Union[int, str] = "current") -> List[Team]:
Which also returns TeamRemainingGames as part of the request. I added relevant model class to parse the response.
Edit2:
Also added get_team_matchup_by_week method to get a specific matchup for the week.