MSports

FREEMIUM
Verified
By MS Sports | Updated לפני 9 ימים | Sports
Popularity

0.2 / 10

Latency

212ms

Service Level

0%

Health Check

N/A

Back to All Tutorials (2)

How to get all info from a team in MSports API

The global information of a team is very crucial information for your analysis! Generating a wide range of opportunities for processing this data! In the global team information we have a lot of information about matches, wins, losses, draws and much more!
The global search for information from a certain team takes place at the /teams/:id endpoint, passing the correct information you will have something similar to this:

"team_info": {
        "allMatches": 71,
        "home": {
            "matches": 37,
            "wins": 15,
            "draws": 13,
            "losses": 8,
            "goals_for": 46,
            "goals_against": 26,
            "clean_sheets": 11,
            "failed_to_score": 11
        },
        "away": {
            "matches": 34,
            "wins": 7,
            "draws": 11,
            "losses": 16,
            "goals_for": 24,
            "goals_against": 36,
            "clean_sheets": 4,
            "failed_to_score": 18
        }
    }

Apart from the overs of the team in question will have all this information for you to analyze!