How to get the participating teams for a certain competition?

The "Team list" interface has an associated "competition_id" field, which indicates the league that the team participates in.

ps: This field is only associated with the league. If you want to query the cup competition, you can first obtain all the schedules of this cup competition. The home and away teams associated with the schedule are the teams participating in this competition.

 

Currently, only the "Team list" of football has the "competition_id" field. Other ball data does not have it. You can only get all the schedules of this competition first, and then filter according to the home and away teams of the schedule.

 

Can customers judge participating teams based on the "standing table" data?

We do not recommend this method because not all competitions will have standing data. In addition, standing data will only be available after the match starts.

 

@2022 TheSports All Rights Reserved