Voti and fantavoti for every player of a fixture
const url = 'http://localhost:8080/v1/fixtures/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/scores?voto_source=provider-rating';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:8080/v1/fixtures/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/scores?voto_source=provider-rating'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Where base voti come from.
Responses
Section titled “Responses”Scores ordered by team and player name.
object
object
object
object
Base voto; null when senza voto.
Voto plus the sum of the breakdown; null when senza voto.
The voto was assigned by a senza voto rule
What the player did in the match, as derived from provider events. Shoot-outs never count.
object
Goals scored, excluding penalties
Penalties taken and not scored, including those saved by the keeper
Penalties saved, as the goalkeeper
Every assist class together
Assists that came from a set piece. Part of assists; the rest are open play
Contributions to a goal that were not judged assists. Part of assists
Includes a second yellow
Sent off by a straight red or a second yellow
Goals the player’s team conceded while the player was on the pitch, own goals included
1 for the goal that put the winner ahead for good (the winner’s goal number loser+1, regulation time, goals and penalty goals only; an own goal credits nobody)
1 for the last goal of a drawn match with goals, the one that levelled the score (regulation time; an own goal credits nobody)
Named man of the match by the provider. Many fixtures have none
Goalkeeper who played and whose team conceded no goal while they were on the pitch. Whether it earned the bonus is in the breakdown (gk_clean_sheet): none when the voto is a voto d’ufficio or under the league’s minimum minutes
object
A scoring code
object
Example
{ "scores": [ { "role": "goalkeeper", "voto": "6.38", "fantavoto": "6.38", "breakdown": [ { "code": "goal", "points": "6.38" } ] } ]}An error, as RFC 9457 problem details.
object
Example
{ "type": "about:blank"}An error, as RFC 9457 problem details.
object
Example
{ "type": "about:blank"}