How can I get list of competitions?
This article will help you find the competition ID, useful for filtering other SportsAPI resources
Step-by-step guide:
-
To get a list of competitions go to the competitions.index method
https://api.statscore.com/v2/competitions?token=<<YOUR TOKEN>>
Competitions with attribute active="yes" are currently supported by STATSCORE
- You can filter the list with specified parameters: area_id and sport_id.
https://api.statscore.com/v2/competitions?token=<<YOUR TOKEN>>&area_id=5&sport_id=5
Here is the list of sport=soccer competitions in area=Engalnd.
Useful links:
How can I get country id
How can I get list of sports