Description Usage Arguments Details
A function that is an abstraction from acommentary_info
that
handles adding player statistics and general commentary information from a
commentary list.
1 | commentary_sub(KEYS, matchID, teamID, teamStats, commentary)
|
matchID |
An integer ID representing a single match as defined by the API. |
teamID |
An integer ID value representing a single team as defined by the API. |
teamStats |
A list object that contains the teams commentary statistics. |
commentary |
A list object that contains multiple items, including the player information. |
competitionID |
A character string representing the competitionID that is under investigation. |
Redis Keys used;
[HASH] :: csmt_commentary:{comp_id}:{season}:{match_id}:{team_id}
[HASH] :: cmp:{comp_id}:{match_id}:{player_id}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.