-
Hi, I just started using your package and it looks like it has already implements tons of what I'm trying to do (import rosters, free agents, etc) so it's already super helpful. I'm trying to get a player's current aggregated season stats. For example, Christian McCaffery's looks like:
I noticed there's no season aggregate stat. In the ESPN API I see what appears to be seasonal stats in the same stats array that the weekly is pulled from, and it has a A second issue is that the 2nd week isn't appearing in the stats response for any players yet. I'm only seeing the first week, so I can't sum all of the weekly stats together. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 15 replies
-
Interesting, I recently added the I think it would be very useful having the players aggregated and projected season stats. I will look into it more in the next couple days and hopefully have a PR up sometime this weekend/next week! |
Beta Was this translation helpful? Give feedback.
-
I'm running into a curious issue where I'm getting no player info for Josh Allen. Either of these will return None: player = league.player_info(name='Josh Allen') It also happens for AJ Green, but every other player seems to work fine. Anyone else experience this? |
Beta Was this translation helpful? Give feedback.
-
I think because Josh Allen is ambiguous. Also a defensive player.
I’m still trying to find the best way to get a stored data frame of each
players weekly stats over the last few years.
…On Sat, Dec 12, 2020 at 2:35 PM rab175 ***@***.***> wrote:
I'm running into a curious issue where I'm getting no player info for Josh
Allen.
Either of these will return None:
player = league.player_info(name='Josh Allen')
player = league.player_info(playerId= 3915239)
It also happens for AJ Green, but every other player seems to work fine.
Anyone else experience this?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#131 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMY2FORUAJV7NVGAUYPABLDSUPHZ5ANCNFSM4RY2MNPA>
.
|
Beta Was this translation helpful? Give feedback.
Interesting, I recently added the
stats
field to the player class and have not fully dived into the API response. The first use case of the stats field was in box player class to get the weekly projected and actual points.I think it would be very useful having the players aggregated and projected season stats. I will look into it more in the next couple days and hopefully have a PR up sometime this weekend/next week!