How can I get comparison of teams
This article will help you find how to compare (H2H) two teams
Step-by-step guide:
STEP 1
To get a list of seasons go to the seasons.index method
👉https://api.statscore.com/v2/seasons?token=<<YOUR_TOKEN>>&sport_id=5
STEP 2
To get a list of participants go to the participants.index method.
👉https://api.statscore.com/v2/participants?token=<<YOUR_TOKEN>>&sport_id=5&season_id=45
STEP 3
To get comparison of teams go to the participants.compare method
👉https://api.statscore.com/v2/participants/136928/compare?token=<<YOUR_TOKEN>>&compare_participant_id=136929
With this method you will be able to compare two teams and present head to head comperision.
⚙️Useful links: