Skip to content
English
  • There are no suggestions because the search field is empty.

How can I get a participant stats?

This article explains how to collect participants stats for specific season using seasons.participants-stats.index.

Step-by-step guide:

 To get a list of seasons go to the seasons.index method with specified parameter: competition_id.
  
 

https://api.statscore.com/v2/seasons?token=<<YOUR_TOKEN>>&competition_id=1498

 
 To get a list participant stats go to seasons.participants-stats.index with specified parameter: season_id and type team or person. 
 
 

https://api.statscore.com/v2/seasons/53851/participants-stats?&type=person&token=<<YOUR_TOKEN>>

 In this example you will get list of players for this competition in specific season, player stats and the associated team (parent_participant).
 
 

https://api.statscore.com/v2/seasons/53851/participants-stats?&type=team&token=<YOUR_TOKEN>>

In this example you will get team stats for a specific season.