/
How can I get details about the legaue/competition
How can I get details about the legaue/competition
Problem
I would like to get the details about a league
Solution
Get a list of areas
To get a list of areas go to the areas.index method
Get a list of sports
To get a list of sports go to the sports.index method
Sports with attribute active="yes" are currently supported by STATSCORE
Get a list of competitions
To get a list of competitions go to the competitions.index method with specified parameters: area_id and sport_id.
To see all available seasons you need to open wanted competition
- ...and season
- Finally as we know sport ID and season ID we can open the list of standings
- To see the table for example for Top scorers we just need to go to standigs.show method
Please note that is just an example of details path. Every time you should take into account the goal you want to achieve through the query.
Related articles
, multiple selections available,
Related content
How can I integrate my website with STATSCORE LivematchPro
How can I integrate my website with STATSCORE LivematchPro
Read with this
competitions.show
competitions.show
More like this
seasons.show
seasons.show
More like this
seasons.index
seasons.index
More like this
participants.seasons.show
participants.seasons.show
More like this
Get the list of events for particular season
Get the list of events for particular season
More like this