NBA Daily Leaders

Last updated February 17, 2016

This endpoint returns three players with the top performances for the current date or, if specified, the top performers on yyyyMMdd (Eastern time). An example of this data can be seen on the NBA scores page.

Ordering players' performances by different algorithms is possible. Open a new issue and provide the sort algorithm.

URL

GET /sport/daily-leaders.format

GET /sport/daily-leaders/yyyyMMdd.format

Sport

  1. nba

Format

Authorization

Required. A valid access token must be included in the header of the request.

Parameters

Name Required Description
sort optional Name of the algorithm to use to sort player performances. There are no algorithms defined yet, so this parameter is effectively ignored.

Returned Values

Name Type Description
daily_leaders_date string Date and time representation of result using W3C's recommended ISO 8601 format yyyy‑MM‑DDTHH:mm:ss±hh:mm (e.g., 2012‑09‑27T22:45:00‑07:00).
sort_type string The sort algorithm used. This will be default
player array of objects Basketball Stats objects

Example Request

curl -H "Authorization: Bearer ACCESS_TOKEN" https://erikberg.com/nba/daily-leaders/20151231.json

Example Result

{
  "daily_leaders_date" : "2015-12-31T05:00:00Z",
  "sort_type" : "default",
  "player" : [ {
    "last_name" : "Westbrook",
    "first_name" : "Russell",
    "display_name" : "Russell Westbrook",
    "position" : "PG",
    "minutes" : 34,
    "points" : 36,
    "assists" : 12,
    "turnovers" : 2,
    "steals" : 5,
    "blocks" : 1,
    "rebounds" : 1,
    "field_goals_attempted" : 19,
    "field_goals_made" : 12,
    "three_point_field_goals_attempted" : 3,
    "three_point_field_goals_made" : 1,
    "free_throws_attempted" : 11,
    "free_throws_made" : 11,
    "defensive_rebounds" : 1,
    "offensive_rebounds" : 0,
    "personal_fouls" : 1,
    "team_abbreviation" : "OKC",
    "is_starter" : true,
    "three_point_percentage" : 0.333,
    "free_throw_percentage" : 1.0,
    "field_goal_percentage_string" : "63.2",
    "three_point_field_goal_percentage_string" : "33.3",
    "free_throw_percentage_string" : "100.0",
    "field_goal_percentage" : 0.632
  }, {
    "last_name" : "Warren",
    "first_name" : "Anthony",
    "display_name" : "T.J. Warren",
    "position" : "SF",
    "minutes" : 41,
    "points" : 29,
    "assists" : 3,
    "turnovers" : 0,
    "steals" : 4,
    "blocks" : 0,
    "rebounds" : 9,
    "field_goals_attempted" : 17,
    "field_goals_made" : 11,
    "three_point_field_goals_attempted" : 5,
    "three_point_field_goals_made" : 3,
    "free_throws_attempted" : 4,
    "free_throws_made" : 4,
    "defensive_rebounds" : 8,
    "offensive_rebounds" : 1,
    "personal_fouls" : 3,
    "team_abbreviation" : "PHO",
    "is_starter" : true,
    "three_point_percentage" : 0.6,
    "free_throw_percentage" : 1.0,
    "field_goal_percentage_string" : "64.7",
    "three_point_field_goal_percentage_string" : "60.0",
    "free_throw_percentage_string" : "100.0",
    "field_goal_percentage" : 0.647
  }, {
    "last_name" : "McCollum",
    "first_name" : "Christian",
    "display_name" : "C.J. McCollum",
    "position" : "SG",
    "minutes" : 40,
    "points" : 32,
    "assists" : 6,
    "turnovers" : 1,
    "steals" : 0,
    "blocks" : 0,
    "rebounds" : 7,
    "field_goals_attempted" : 26,
    "field_goals_made" : 13,
    "three_point_field_goals_attempted" : 11,
    "three_point_field_goals_made" : 6,
    "free_throws_attempted" : 2,
    "free_throws_made" : 0,
    "defensive_rebounds" : 7,
    "offensive_rebounds" : 0,
    "personal_fouls" : 3,
    "team_abbreviation" : "POR",
    "is_starter" : true,
    "three_point_percentage" : 0.545,
    "free_throw_percentage" : 0.0,
    "field_goal_percentage_string" : "50.0",
    "three_point_field_goal_percentage_string" : "54.5",
    "free_throw_percentage_string" : "0.0",
    "field_goal_percentage" : 0.5
  } ]
}