Replies: 2 comments 5 replies
-
Yea that is correct! To get the weekly player stats you can use the box_score functionality! |
Beta Was this translation helpful? Give feedback.
-
@agronski I'm trying to do the same thing that you did. When I specify a certain week in the box_scores call, I still only get week 18 stats.
and I get:
Could you give an example of what your code looks like to get player stats for a certain week? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
Have a question about how the stats variable works in the players class. Trying to use it to pull stats from last season (to create a script to do the same thing for this season) and it looks like using the stats variable you get two dicts back. One for week 18 (guessing its considered the current week), and one for the entire season. Is there a way to get stats from other weeks throughout the year? And by stats I mean passing yards, rushing yards etc... not just points. Newer to using python so maybe it is something simple I'm missing as well
*Edit- after some playing around figured out I needed to grab whatever week I wanted stats for boxscore first, then could see the stats for that week as well as the total
Beta Was this translation helpful? Give feedback.
All reactions