Anytime Labs API (1.0.0)

API for fetching trending stat insights, and split historical player stats

Download OpenAPI description
Languages
Servers
Mock server
https://docs.anytimelabs.io/_mock/apis/
https://api.anytimelabs.io/v1beta/

Game Logs

Game log retrieval and analysis endpoints

Operations

Stat Averages

Stat average management endpoints

Operations

Get a player averages

Request

Get a player's averages for the given time span and game filters.

Path
league_idstringrequired
player_idstringrequired
Bodyapplication/jsonrequired
conditionsArray of objects(TimeSpanAndGameFilters)required
conditions[].​time_spanobject(DataFilter)required

Time span filter to apply

conditions[].​time_span.​keystringrequired

Unique identifier for the filter

conditions[].​time_span.​valueArray of strings or integers or booleans or arrays or null or string or integer or boolean or nullrequired
conditions[].​game_filtersArray of objects(DataFilter)

Optional game-specific filters to apply within the time span

curl -i -X POST \
  'https://docs.anytimelabs.io/_mock/apis/leagues/{league_id}/players/{player_id}/averages?key=YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "conditions": [
      {
        "time_span": {
          "key": "string",
          "value": "string"
        },
        "game_filters": [
          {
            "key": "string",
            "value": "string"
          }
        ]
      }
    ]
  }'

Responses

Player's average stats for the specified filters

Bodyapplication/json
object
Response
application/json
{}

Leagues

League management endpoints

Operations

Teams

Team management endpoints

Operations

Players

Player management endpoints

Operations

Games

Game management endpoints

Operations

Data Filters

Data filter management endpoints

Operations