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

league.player_info(playerId=playerId) not returning Player objects for kickers in 2022 and 2023. #587

Open
RyanLynchUF opened this issue Oct 9, 2024 · 1 comment

Comments

@RyanLynchUF
Copy link

Sport

Football

Summary

I am pulling player_info for all players available in player_map for each past league of my Fantasy league. This seems to be working fine for 2020 and 2021, but running into issues in 2022 and 2023. The kickers are returning empty lists when using this function. As an example, to get Greg Zuerlein: league.player_info(playerId=14993).

Also, unrelated, but player_map doesn't return the reciprocal mapping for Josh Allen, but does return ('3918298', 'Josh Allen').

Logs/Data

No response

@cwendt94
Copy link
Owner

Do you have a public league I can test this out on? I found an old 2022 League and was able to get Greg Zuerlein from player_info. I am guessing this might be a random ESPN API bug or something on their side because from the package nothing changes on the API call other than passing the playerId.

Yeah for Josh Allen because two players have the same name you would need to try the different playerIds and get position to know which one is which.

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

2 participants