Added

Adding market_stats to fixtures/results and /fixtures/player-results.

Motivation

As the uses of our API are evolving, we are realizing that our API needs to evolve with it. One of the questions we get asked the most is "Do you have a mapping from your stats to your markets?". One reason for wanting this is to create a tracker for Player Props or Team Props or Totals.

Solution

We are introducing a market_stats field on both the fixture/results and fixture/player-results response that will allow direct mapping from our scores to our markets that are settleable. These will also come via our streaming or rabbitmq solutions.

Fixture Results example

"market_stats":{
   "home":{
      "team_total_steals":7,
      "1st_half_team_total":57,
      "team_total_rebounds":27,
      "team_total_blocks":9,
      "team_total_assists":23,
      "2nd_half_team_total":28,
      "1st_quarter_team_total":29,
      "2nd_quarter_team_total":28,
      "3rd_quarter_team_total":28,
      "team_total_made_threes":10,
      "team_total_consecutive_points":8,
      "team_total":85
   },
   "away":{
      "team_total":91,
      "team_total_blocks":2,
      "team_total_steals":8,
      "team_total_rebounds":43,
      "1st_quarter_team_total":37,
      "team_total_made_threes":10,
      "team_total_assists":20,
      "1st_half_team_total":61,
      "2nd_half_team_total":30,
      "2nd_quarter_team_total":24,
      "3rd_quarter_team_total":30,
      "team_total_consecutive_points":9
   }
},

Player Results example

"market_stats":{
   "player_points_+_assists":3,
   "player_points_+_rebounds":4,
   "player_free_throws_attempted":0,
   "player_two_pointers_attempted":2,
   "player_blocks":0,
   "player_points":2,
   "player_assists":1,
   "player_field_goals_made":1,
   "player_made_two_pointers":1,
   "player_defensive_rebounds":2,
   "player_field_goals_attempted":5,
   "player_rebounds":2,
   "player_made_threes":0,
   "player_threes_attempted":3,
   "player_offensive_rebounds":0,
   "player_rebounds_+_assists":3,
   "player_points_+_rebounds_+_assists":5,
   "player_fouls":1,
   "player_turnovers":0,
   "player_steals_+_blocks":1,
   "player_free_throws_made":0,
   "player_steals":1
},