Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add yearly nine_cat_averages to Player #447

Merged

Conversation

johncheng2011
Copy link
Contributor

This adds a property to Player that shows the yearly averages for common categories used in 9-cat leagues.

I've been really liking using this library to do some more digging into my league, and it'll be great to get easier access to category averages. So this PR gets closer to that, but let me know if there are any issues with adding this. Thanks!

@codecov-commenter
Copy link

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.05 🎉

Comparison is base (68224a5) 80.31% compared to head (0802aee) 80.36%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #447      +/-   ##
==========================================
+ Coverage   80.31%   80.36%   +0.05%     
==========================================
  Files          60       60              
  Lines        2103     2109       +6     
==========================================
+ Hits         1689     1695       +6     
  Misses        414      414              
Impacted Files Coverage Δ
espn_api/basketball/constant.py 100.00% <100.00%> (ø)
espn_api/basketball/player.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@cwendt94
Copy link
Owner

Thanks for submitting this PR! I like the idea of adding some helper functions to make it easier getting certain data depending on the league scoring type.

@cwendt94 cwendt94 merged commit cf00aed into cwendt94:master Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants