roclark / sportsipy

A free sports API written for python
MIT License
475 stars 189 forks source link

NCAAB Boxscore losing_abbr, losing_name, winning_abbr, winning_name not populating #757

Open reaganking opened 1 year ago

reaganking commented 1 year ago

Describe the bug Using Boxscore, full dataframe is produced but the fields for losing_abbr, losing_name, winning_abbr, and winning_name are populating with blanks

To Reproduce

from sportsipy.ncaab.boxscore import Boxscore
game_stats = Boxscore('2018-04-02-21-villanova')
df = game_stats.dataframe
df.to_csv('kansas_output_names.csv', index = False)

Desktop (please complete the following information):

ryanpond21 commented 1 year ago

+1 on this issue. Any solution @reaganking ?

reaganking commented 1 year ago

Unfortunately not @ryanpond21. I kind of gave up and ended up going with a paid service (natstat lifetime package is worth a look when they have one of their sales)

ryanpond21 commented 1 year ago

Thanks, will take a look at that since it looks like sportsreference is getting harder these days with the bot protection.

For anyone else interested, I was able to get the names via Boxscores.games, and just ended up appending that to my Boxscore.dataframe to make the dataframe whole. Not going to add a fix to the repo though.