API for fetching trending stat insights, and split historical player stats
API for fetching trending stat insights, and split historical player stats
Time span filter to apply
Optional array of stat key and handicap pairs to calculate hit rates for
curl -i -X POST \ 'https://docs.anytimelabs.io/_mock/apis/leagues/{league_id}/players/{player_id}/game-logs?key=YOUR_API_KEY_HERE' \ -H 'Content-Type: application/json' \ -d '{ "conditions": [ { "time_span": { "key": "string", "value": "string" }, "game_filters": [ { "key": "string", "value": "string" } ] } ], "hit_rate_requests": [ { "stat_key": "string", "handicap": 0 } ], "restrict_reponse_keys_to_hit_rate_requests": false }'
{ "player": { "id": "string", "first_name": "string", "last_name": "string", "full_name": "string", "jersey_number": 0, "position": { … }, "team": { … } }, "condition_game_logs": [ { … } ] }