Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

In 2020, STATSCORE added incident attributes for the selected incidents that appear in sports offered in Scoutsfeed. Attributes allow you to precisely define the type of a given incident, e.g. the “own goal” attribute may be used for a “goal” incident. In the section below we explain how to use this functionality.

Information about the incident attributes is available both through the AMQP service and API endpoints and is contained in the attribute_ids parameter which is a list of incident type identifiers separated by a comma (e.g. 123,234,321).

Initially, a message about adding a new incident is sent (action: insert). The "attribute_ids" parameter "null" will appear by default. This value may change depending on the situation on the pitch and may affect the statistics.

If the attribute is assigned to an incident, an update message (action: update) containing the ID for the specific incident will be sent. In the image below, ID: 466 corresponds to the "Dangerous free kick" attribute for the "Free kick" incident

A detailed list of attributes with ID is available in the section of “Incidents”

  • No labels