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

[SoFIFA] Issue Retrieving Player Ratings #791

Open
1 of 11 tasks
capo11 opened this issue Jan 17, 2025 · 0 comments
Open
1 of 11 tasks

[SoFIFA] Issue Retrieving Player Ratings #791

capo11 opened this issue Jan 17, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@capo11
Copy link

capo11 commented Jan 17, 2025

Describe the bug
There are issues retrieving player ratings, because ratings for stats other than overall rating and potential are none.

Affected scrapers
This affects the following scrapers:

  • ClubElo
  • ESPN
  • FBref
  • FiveThirtyEight
  • FotMob
  • Match History
  • SoFIFA
  • Understat
  • WhoScored

Code example
A minimal code example that fails. Use no_cache=True to make sure an invalid cached file does not cause the bug and make sure you have the latest version of soccerdata installed.

import soccerdata as sd
sf1 = sd.SoFIFA(versions="latest", no_cache=True)
sf1.read_player_ratings(team="Inter")

Error message


Additional context

Contributor Action Plan

  • I can fix this issue and will submit a pull request.
  • I’m unsure how to fix this, but I'm willing to work on it with guidance.
  • [ X] I’m not able to fix this issue.
@capo11 capo11 added the bug Something isn't working label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant