Access to Match Conditions resources (/<play>/matches/conditions resource).
Derived from MatchResource.
Access to Match Goals resources (/<play>/matches/goals resource).
Derived from MatchResource.
Access to Match Information resources (/<play>/matches/info resource).
Derived from MatchResource.
Access to Match Lineups resources (/<play>/matches/lineups resource).
Derived from MatchResource.
Access to Match Offenses resources (/<play>/matches/offenses resource).
Derived from MatchResource.
Access to Match Penalties resources (/<play>/matches/penalties resource).
Derived from MatchResource.
Access to Match objects for a specific type of match (club, national team).
| Attribute | Description |
|---|---|
| information | Match information |
| lineups | Match lineups |
| conditions | Match conditions |
| goals | Goal events |
| penalties | Penalty kick events |
| offenses | Disciplinary events |
| substitutions | Substitution events |
| shootouts | Penalty shootout events |
| stats | Match statistics |
| events | Match micro-events |
Represents a Match REST resource (<play>/matches/<resource> endpoints).
The Match Resources are a collection of macro-events, micro-events, and summary statistics resources in the Soccermetrics Connect API.
Derived from resources.Resource.
Construct URI of Match REST resource.
URI is of format /matches/<match>/<resource>/.
| Returns: | URI of REST resource. |
|---|---|
| Return type: | string |
Retrieves a representation of Match REST resource.
If the status code is 200 (OK), returns the representation. Otherwise, returns an error.
| Parameters: |
|
|---|---|
| Returns: | Resource representation. |
| Return type: | Return value of MatchResource.get(). |
Retrieves header data of Match REST resource.
| Returns: | Header data. |
|---|---|
| Return type: | Return value of MatchResource.head(). |
Retrieves documentation of Match REST resource.
If the status code is 200 (OK), returns the documentation. Otherwise, returns an error.
Link resources are not included in the documentation.
| Returns: | Resource documentation data. |
|---|---|
| Return type: | Return value of MatchResource.options(). |
Access to Match Shootouts resources (/<play>/matches/shootouts resource).
Derived from MatchResource.
Access to Match Substitutions resources (/<play>/matches/substitutions resource).
Derived from MatchResource.
Represents a Match Event REST resource.
The Match Event resource controls access to data about the micro-events in a football match, such as ball touches, non-touch events, positional data, and explanatory data related to touch events.
Micro-events are modelled as a combination of three components: events, actions, and modifiers.
Derived from base.Resource.
Establish access to Match Event objects (/<play>/events/<resource> endpoint).
| Attribute | Description |
|---|---|
| all | All micro events |
| touches | All touch events |
| actions | All event actions |
Establish access to Cross statistical resources (/<play>/stats/crosses endpoint).
| Attribute | Description |
|---|---|
| corners | Crosses from corners |
| totals | Total crossing stats |
Establish access to Defensive statistical resources (/<play>/stats/defense endpoint).
| Attribute | Description |
|---|---|
| actions | Defensive actions |
| blocks | Shot block stats |
| clearances | Ball clearance stats |
| goalline | Goal-line clearance stats |
| tackles | Tackling stats |
Access to Foul statistical resources (/<play>/stats/fouls endpoint).
| Attribute | Description |
|---|---|
| cards | Card stats |
| wins | Foul suffered stats |
Access to Goal statistical resources (/<play>/stats/goals endpoint).
| Attribute | Description |
|---|---|
| assists | Goal assist stats |
| bodyparts | Goalscoring bodypart stats |
| locations | Goalscoring location stats |
| penalties | Match penalty stats |
| totals | Total goalscoring stats |
Access to Goalkeeper statistical resources (/<play>/stats/goalkeeper endpoint).
| Attribute | Description |
|---|---|
| actions | Goalkeeping action stats |
| goals | Goals allowed stats |
| shots | Shots allowed stats |
| saves | Goalkeeper saves stats |
Establish access to Match Statistics objects (/<play>/stats endpoints).
| Attribute | Description |
|---|---|
| crosses | Crossing statistics |
| defense | Defensive statistics |
| fouls | Foul statistics |
| goals | Goal statistics |
| goalkeeper | Goalkeeping statistics |
| passes | Passing statistics |
| setpieces | Set-piece statistics |
| shots | Shot statistics |
| touches | Ball touch statistics |
Represents a Match Statistics REST resource.
The Match Statistics resources controls access to summary in-match statistical data of players who are in the match lineups of a football match.
Derived from base.Resource.
Access to Passing statistical resources (/<play>/stats/passes endpoint).
| Attribute | Description |
|---|---|
| directions | Pass direction stats |
| lengths | Pass length stats |
| locations | Pass location stats |
| totals | Total passing stats |
Access to Set-Piece statistical resources (/<play>/stats/setpieces endpoint).
| Attribute | Description |
|---|---|
| corners | Corner kick stats |
| freekicks | Direct freekick stats |
| throwins | Throw-in stats |