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

« Previous Version 4 Next »

In 2020, STATSCORE has added the incidents attributes for the selected incidents that appear in sports offered in the Scoutsfeed product. Attributes allow you to precisely define the type of a given incident, e.g. attribute own goal to incident goal. In the section below we will describe how to support mentioned 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