API for fetching trending stat insights, and split historical player stats
API for fetching trending stat insights, and split historical player stats
curl -i -X POST \ 'https://docs.anytimelabs.io/_mock/apis/trends?key=YOUR_API_KEY_HERE' \ -H 'Content-Type: application/json' \ -d '{ "league_ids": [ "string" ], "game_ids": [ "string" ], "entity_ids": [ "string" ], "stat_keys": [ "string" ], "max_results": 100, "max_results_per_entity": 3, "max_results_per_entity_stat_key": 1 }'
List of matching trends. Filters are optional, and listed in order from more general to more specific. When providing a filter, it is most efficient to provide all filters above it.
Game this trend applies to
Entity this trend applies to (currently only players supported)
Entity this trend applies to (currently only players supported)
Stat key information
Types of entities that can be filtered
Result of a stat comparison against a handicap
Statistical summary of the trend
Time span and game filters applied to this trend
Time span filter to apply
[ { "id": "string", "league_id": "string", "game": { … }, "entity_type": "player", "entity": { … }, "stat": { … }, "handicap": 0.1, "stat_result": "over", "entity_trend_stats": { … }, "entity_trend_condition": { … }, "entity_trend_readable_string": "string", "updated": "2019-08-24T14:15:22Z" } ]