[GH-ISSUE #791] [SoFIFA] Issue Retrieving Player Ratings #168

Closed
opened 2026-03-02 15:56:20 +03:00 by kerem · 0 comments
Owner

Originally created by @capo11 on GitHub (Jan 17, 2025).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/791

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.
  • I’m not able to fix this issue.
Originally created by @capo11 on GitHub (Jan 17, 2025). Original GitHub issue: https://github.com/probberechts/soccerdata/issues/791 **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 - [X] 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. ```python 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.
kerem 2026-03-02 15:56:20 +03:00
  • closed this issue
  • added the
    bug
    SoFIFA
    labels
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/soccerdata#168
No description provided.