top of page
Search
Writer's pictureangele delevoye

Want fantasy scores for specific games in 2021?

Updated: Jun 4, 2021

Basketball Reference only provide season-long statistics, from which we can derive all-time numbers. What if you want statistics for a certain set of games only? This can be especially useful if you are playing fantasy. I use the ESPN's API, as well as Saiem Gilani's WeHoop R package, to generate statistics (fantasy score and plus-minus) for any given set of games in current WNBA season. The code is available on my Github page. The table might take some time to generate.


For ease of use, I keep ESPN's game IDs as the input you need on the application. Enter two games IDs for the 2021 WNBA season, and the app will return the statistics for each player for all games played between these two games. The first game of the season was coded as game ID 401320565 by ESPN, the second game as 401320566, etc. Only the last two numbers matter. So if you want the first 20 games of the season, you would enter 401320565 to 401320585. If you want more specific games, or check the game ID for the most recent game, just go on ESPN and look up any tab for any game: gamecast, boxscore, recap, etc. Look at the URL, the game ID will be there, ready to be copied into my app! For example, look at this URL: https://www.espn.com/wnba/recap?gameId=401320591.








5 views0 comments

Recent Posts

See All

Comments


Post: Blog2_Post
bottom of page