Suggestions on score push mechanism

It is not recommended to push scores through the "incidents" field of the "Real-time data" interface.

 

Because the incident data is fully updated. For example, a goal is generated and a goal incident is pushed. However, the goal was invalidated due to an early foul. Then in the next incident push, the goal incident will not be returned. The user cannot be notified of the cancellation of the goal.

 

We recommend pushing scores based on the "score" field of the "Real-time data" interface. For example, the score pushed last time is 1:0. If the goal is canceled, the data pushed next time will be 0:0. You can judge whether it is a "goal" or a "cancel goal" based on the changes in the data obtained twice before and after.

@2022 TheSports All Rights Reserved