0
Feature
Archived
Apr 03, 2026 · MaloElPipo
Players are missing
I've seen that a lot of players, espacially from Barcelona, are missing. It's seems to be a huge problem when your datas are missing players like Pedri... I guess it can be great to have a full reviews of full rosters including players who are going to play the World Cup. Thank you very much !
Comments (1)
BSD Team
Admin
Apr 03, 2026 11:33
Hi! Thanks for reporting this — you were right, key players like Pedri, Lamine Yamal, Raphinha, and others were missing from Barcelona's squad.
The root cause: when international matches (World Cup, friendlies) were synced, players got reassigned to their national teams instead of their clubs. So Pedri showed as "Spain" instead of "Barcelona".
Fixed with a new architecture:
- Players now have both a club team (current_team) and a national team (national_team)
- Barcelona went from 22 to 33 players (Pedri, Lamine Yamal, Raphinha, Dani Olmo, Cubarsi, Araujo, Fermin Lopez, etc.)
- 2,609 players across all teams have been corrected
- New API filter: ?national_team=475 returns the full Spain squad with each player's club
Examples:
- /api/players/?team=44 -> Barcelona full squad (33 players)
- /api/players/?national_team=475 -> Spain squad (27 players)
Updated docs at /docs/#players. Thanks for catching this!