pl_player_comp_stats
Retrieve a player's career stats aggregated across all seasons of a competition, covering goals, assists, expected goals, and total passes. Requires competition and player IDs.
Instructions
A player's career stats aggregated across the competition (all seasons).
Returns: {player, stats:{…Opta player metrics: goals, goalAssists, expectedGoals, totalPasses, …}}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | Yes | ||
| pid | Yes |