Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get names of MLB players #712

Open
moegoldberg opened this issue Mar 11, 2022 · 0 comments
Open

Unable to get names of MLB players #712

moegoldberg opened this issue Mar 11, 2022 · 0 comments

Comments

@moegoldberg
Copy link

Describe the bug
I tried to get the names of all of the players on the 1956 Dodgers, and they are all listed as None, I then tried to get the name of a few individual players, and they were all None

To Reproduce
Sample code which causes an issue.

>>> from sportsipy.mlb import teams
>>> t = teams.Teams(1956)
>>> t['BRO'].roster.players
[None (camparo01), None (hodgegi01), None (gilliji01), None (reesepe01), None (jacksra01), None (amorosa01), None (snidedu01), None (furilca01), None (robinja02), None (walkeru01), None (nealch01), None (nelsoro01), None (fernach01), None (cimolgi01), None (mitchda01), None (zimmedo01), None (howeldi02), None (willidi02), None (demetdo01), None (asprobo01), None (newcodo01), None (maglisa01), None (craigro01), None (erskica01), None (drysddo01), None (labincl01), None (bessedo01), None (koufasa01), None (roebued01), None (lehmake01), None (templch01), None (hugheji02), None (brancra01), None (darnebo01), None (loesbi01)]
>>> print(t['BRO'].roster.players[0].name)
None
>>> from sportsipy.mlb.roster import Player
>>> print(Player('camparo01').name)  # Roy Campanella
None
>>> print(Player('koufasa01').name)  # Sandy Koufax
None
>>> print(Player('bondsba01').name) # Barry Bonds
None

Expected behavior
Successfully print the players names

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 10
  • Sportsipy Version: 0.6.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant