Description Usage Arguments Details Value
A function that takes a KEYS$COMP and length of players to analyse. The playerID's are popped from a Redis list and queried. The player stats are then stored in appropriate redis keys as necessary.
1 | aplayer_info(KEYS, playerLength)
|
KEYS |
A list containing options such as testing / prediction / important variables and information. Also contains API information. |
playerLength |
An integer value that defines the number of players to analyse for a given list of ID's previously generated. |
API endpoints;
"/player/player_id?Authorization=auth_id"
Redis Keys used;
[LIST] :: analysePlayers
[HASH] :: ctps_**:{comp_id}:{team_id}:{player_id}:{season}
Returns nothing. Redis is updated with player information
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.