Stats from past day #315
-
First of all, I love this library; it's been quite easy to use and very navigable. With that said, is there some way to get a basketball player's stats from the past day? The stats dict returns last_7/15/30, 2021 stats, 2022 stats, 2022 projections, and strangely the 2021 projections. Not sure if that's always been the case but I can't find a workaround. Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Ok so I dug into it a bit more and I think ESPN has a window where the API will return last night's game before clearing it out to prepare for the upcoming day's games. Just a hypothesis, could be wrong. Also learned that ESPN tags games with a unique ID. For example, today's Lakers @ Nets game has and ID of 401360537. https://www.espn.com/apis/devcenter/docs/scores.html for more on that. |
Beta Was this translation helpful? Give feedback.
-
Thanks for brining this back up, on espn fantasy website they only allow you to filter last 7/15/30 days but I will check the data to see if they provide any other stats. When you click on the player it then shows the players stats for the specific games, so might have to get that information from functionality similar to footballs player_info call. |
Beta Was this translation helpful? Give feedback.
Thanks for brining this back up, on espn fantasy website they only allow you to filter last 7/15/30 days but I will check the data to see if they provide any other stats.
When you click on the player it then shows the players stats for the specific games, so might have to get that information from functionality similar to footballs player_info call.