Growing Discord community — direct access to the developer, live coverage & picks. Join now →
0
Feature Archived Apr 09, 2026 · uniquely438

Add Penalties to GET/api/player-stats/

would be great to add "Scored/Missed Penalties" for outfield players and "Penalties Saved" for goalkeepers Also a quick question: how is the player rating calculated?

Resolution: Added penalty_won, penalty_miss, penalty_conceded, penalty_save, penalty_faced to /api/player-stats/
Comments (1)
BSD Team Admin Apr 09, 2026 00:04
Done! The /api/player-stats/ endpoint now includes penalty fields: - penalty_won — penalties won by the player - penalty_miss — penalties missed - penalty_conceded — penalties conceded (fouls in the box) - penalty_save — penalties saved (goalkeepers) - penalty_faced — penalties faced (goalkeepers) These return null when no penalty events occurred in that match. Regarding the player rating: it is the match rating provided by the data source, calculated from the player's overall performance in that specific match (goals, assists, passes, duels, defensive actions, etc.) on a 1-10 scale.