Description Usage Arguments Details Value
A function that takes a KEYS$COMP and integer value with details of the teamID list for analysis. Each team is queried by the API for relevant information and statistics are stored.
1 | ateam_info(KEYS, teamListLength)
|
KEYS |
A list containing options such as testing / prediction / important variables and information. Also contains API information. |
teamListLength |
An integer value that defines how long the list containing teamID's is TeamID's are then popped from the list as they are anaylsed. |
API endpoints;
"/team/team_id?Authorization=auth_id"
Redis Keys used;
[SET] :: c_playerSetInfo
[LIST] :: analyseTeams
[LIST] :: analysePlayers
[HASH] :: ct_basics:{comp_id}:{team_id}
[HASH] :: ct_stats:{comp_id}:{team_id}
[HASH] :: ctp:{comp_id}:{team_id}:{player_id}
Returns nothing. A Redis hash map is set with the team information.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.