The difference between standing interfaces

BASIC DATA -Season standing(newest season):Returns the standing data of this season through "season id". Only the latest season can be queried

 

DATABASE DATA -Season standing(all season):Returns the standing data of this season through "season id". All seasons can be queried

 

BASIC DATA- Real-time standings:Returns the standing data that has changed within the last 10 minutes

The "Season standing (newest season)" and "Season standing (all season)" interfaces are updated after the match ends. You can use the notification of the "Data update" interface to determine whether to call the latest data

 

The "Real-time standings" interface is updated in real time according to the goals during the match

 

The "Real-time standings" interface only covers popular competitions. Some non-popular and low-level competitions are not included, so just follow the actual return of the interface

 

The coverage of the "Season standing (newest season)" and "Season standing (all season)" interfaces is wider than that of "Real-time standings". Most competitions are covered

 

Usage suggestions:

If the "Season standing (all season)" interface is enabled, you don't need to use "Season standing (newest season)"

You can first obtain all the data in the "Season standing (all season)" interface. After obtaining, request the "Data update" and "Real-time standings" interfaces respectively at regular intervals, and overwrite the obtained data with each other, so there will be no conflict.

 

Use of the "Data update" interface:

The interface will return data that has changed within 120 seconds. For example, if the standings data of a certain season has changed, the interface will return the "season id" of this season. After you get this id, go to the "Season standing" interface to get the latest data.

 

@2022 TheSports All Rights Reserved