<commit_before>## API: Data

### Method Reference

  - `calendar`
    + Endpoint: [`/data/10s/prod/v1/calendar.json`](http://data.nba.net/data/10s/prod/v1/calendar.json)

  - `currentScoreboard`
    + Endpoint: [`/data/10s/prod/v1/scoreboard.json`](http://data.nba.net/data/10s/prod/v1/scoreboard.json)

  - `scoreboard`
    + Endpoint: [`/data/10s/prod/v1/{{date}}/scoreboard.json`](http://data.nba.net/data/10s/prod/v1/{{date}}/scoreboard.json)
    + Parameters:
      * `date`

  - `teams`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/teams.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/teams.json)
    + Parameters:
      * `year`

  - `players`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/players.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/players.json)
    + Parameters:
      * `year`

  - `coaches`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/coaches.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/coaches.json)
    + Parameters:
      * `year`

  - `schedule`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/schedule.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/schedule.json)
    + Parameters:
      * `year`

  - `conferenceStandings`
    + Endpoint: [`/data/10s/prod/v1/current/standings_conference.json`](http://data.nba.net/data/10s/prod/v1/current/standings_conference.json)

  - `divisionStandings`
    + Endpoint: [`/data/10s/prod/v1/current/standings_division.json`](http://data.nba.net/data/10s/prod/v1/current/standings_division.json)

  - `standings`
    + Endpoint: [`/data/10s/prod/v1/current/standings_all.json`](http://data.nba.net/data/10s/prod/v1/current/standings_all.json)

  - `miniStandings`
    + Endpoint: [`/data/10s/prod/v1/current/standings_all_no_sort_keys.json`](http://data.nba.net/data/10s/prod/v1/current/standings_all_no_sort_keys.json)

  - `teamStatsLeaders`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/team_stats_rankings.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/team_stats_rankings.json)
    + Parameters:
      * `year`

  - `lastFiveGameTeamStats`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/team_stats_last_five_games.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/team_stats_last_five_games.json)
    + Parameters:
      * `year`

  - `previewArticle`
    + Endpoint: [`/data/10s/prod/v1/{{gameDate}}/{{gameId}}_preview_article.json`](http://data.nba.net/data/10s/prod/v1/{{gameDate}}/{{gameId}}_preview_article.json)
    + Parameters:
      * `gameDate`
      * `gameId`

  - `recapArticle`
    + Endpoint: [`/data/10s/prod/v1/{{gameDate}}/{{gameId}}_recap_article.json`](http://data.nba.net/data/10s/prod/v1/{{gameDate}}/{{gameId}}_recap_article.json)
    + Parameters:
      * `gameDate`
      * `gameId`

  - `boxscore`
    + Endpoint: [`/data/10s/prod/v1/{{gameDate}}/{{gameId}}_boxscore.json`](http://data.nba.net/data/10s/prod/v1/{{gameDate}}/{{gameId}}_boxscore.json)
    + Parameters:
      * `gameDate`
      * `gameId`

  - `miniBoxscore`
    + Endpoint: [`/data/10s/prod/v1/{{gameDate}}/{{gameId}}_mini_boxscore.json`](http://data.nba.net/data/10s/prod/v1/{{gameDate}}/{{gameId}}_mini_boxscore.json)
    + Parameters:
      * `gameDate`
      * `gameId`

  - `pbp`
    + Endpoint: [`/data/10s/prod/v1/{{gameDate}}/{{gameId}}_pbp_{{periodNum}}.json`](http://data.nba.net/data/10s/prod/v1/{{gameDate}}/{{gameId}}_pbp_{{periodNum}}.json)
    + Parameters:
      * `gameDate`
      * `gameId`
      * `periodNum`

  - `leadTracker`
    + Endpoint: [`/data/10s/prod/v1/{{gameDate}}/{{gameId}}_lead_tracker_{{periodNum}}.json`](http://data.nba.net/data/10s/prod/v1/{{gameDate}}/{{gameId}}_lead_tracker_{{periodNum}}.json)
    + Parameters:
      * `gameDate`
      * `gameId`
      * `periodNum`

  - `playerGamelog`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/players/{{personId}}_gamelog.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/players/{{personId}}_gamelog.json)
    + Parameters:
      * `year`
      * `personId`

  - `playerProfile`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/players/{{personId}}_profile.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/players/{{personId}}_profile.json)
    + Parameters:
      * `year`
      * `personId`

  - `playerUberStats`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/players/{{personId}}_uber_stats.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/players/{{personId}}_uber_stats.json)
    + Parameters:
      * `year`
      * `personId`

  - `teamSchedule`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/teams/{{teamUrlCode}}/schedule.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/teams/{{teamUrlCode}}/schedule.json)
    + Parameters:
      * `year`
      * `teamUrlCode`

  - `teamsConfig`
    + Endpoint: [`/data/1h/prod/{{year}}/teams_config.json`](http://data.nba.net/data/1h/prod/{{year}}/teams_config.json)
    + Parameters:
      * `year`

  - `teamRoster`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/teams/{{teamUrlCode}}/roster.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/teams/{{teamUrlCode}}/roster.json)
    + Parameters:
      * `year`
      * `teamUrlCode`

  - `teamsConfigYear`
    + Endpoint: [`/data/1h/prod/{{seasonScheduleYear}}/teams_config.json`](http://data.nba.net/data/1h/prod/{{seasonScheduleYear}}/teams_config.json)
    + Parameters:
      * `seasonScheduleYear`

  - `teamScheduleYear`
    + Endpoint: [`/data/10s/prod/v1/{{seasonScheduleYear}}/teams/{{teamUrlCode}}/schedule.json`](http://data.nba.net/data/10s/prod/v1/{{seasonScheduleYear}}/teams/{{teamUrlCode}}/schedule.json)
    + Parameters:
      * `seasonScheduleYear`
      * `teamUrlCode`

  - `teamLeaders`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/teams/{{teamUrlCode}}/leaders.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/teams/{{teamUrlCode}}/leaders.json)
    + Parameters:
      * `year`
      * `teamUrlCode`

### Parameter Reference

  - _Coming soon..._

### Examples

See [EXAMPLES.md](../EXAMPLES.md#data).
<commit_msg>Add partial param reference<commit_after>## API: Data

### Method Reference

  - `calendar`
    + Endpoint: [`/data/10s/prod/v1/calendar.json`](http://data.nba.net/data/10s/prod/v1/calendar.json)

  - `currentScoreboard`
    + Endpoint: [`/data/10s/prod/v1/scoreboard.json`](http://data.nba.net/data/10s/prod/v1/scoreboard.json)

  - `scoreboard`
    + Endpoint: [`/data/10s/prod/v1/{{date}}/scoreboard.json`](http://data.nba.net/data/10s/prod/v1/{{date}}/scoreboard.json)
    + Parameters:
      * `date`

  - `teams`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/teams.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/teams.json)
    + Parameters:
      * `year`

  - `players`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/players.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/players.json)
    + Parameters:
      * `year`

  - `coaches`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/coaches.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/coaches.json)
    + Parameters:
      * `year`

  - `schedule`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/schedule.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/schedule.json)
    + Parameters:
      * `year`

  - `conferenceStandings`
    + Endpoint: [`/data/10s/prod/v1/current/standings_conference.json`](http://data.nba.net/data/10s/prod/v1/current/standings_conference.json)

  - `divisionStandings`
    + Endpoint: [`/data/10s/prod/v1/current/standings_division.json`](http://data.nba.net/data/10s/prod/v1/current/standings_division.json)

  - `standings`
    + Endpoint: [`/data/10s/prod/v1/current/standings_all.json`](http://data.nba.net/data/10s/prod/v1/current/standings_all.json)

  - `miniStandings`
    + Endpoint: [`/data/10s/prod/v1/current/standings_all_no_sort_keys.json`](http://data.nba.net/data/10s/prod/v1/current/standings_all_no_sort_keys.json)

  - `teamStatsLeaders`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/team_stats_rankings.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/team_stats_rankings.json)
    + Parameters:
      * `year`

  - `lastFiveGameTeamStats`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/team_stats_last_five_games.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/team_stats_last_five_games.json)
    + Parameters:
      * `year`

  - `previewArticle`
    + Endpoint: [`/data/10s/prod/v1/{{gameDate}}/{{gameId}}_preview_article.json`](http://data.nba.net/data/10s/prod/v1/{{gameDate}}/{{gameId}}_preview_article.json)
    + Parameters:
      * `gameDate`
      * `gameId`

  - `recapArticle`
    + Endpoint: [`/data/10s/prod/v1/{{gameDate}}/{{gameId}}_recap_article.json`](http://data.nba.net/data/10s/prod/v1/{{gameDate}}/{{gameId}}_recap_article.json)
    + Parameters:
      * `gameDate`
      * `gameId`

  - `boxscore`
    + Endpoint: [`/data/10s/prod/v1/{{gameDate}}/{{gameId}}_boxscore.json`](http://data.nba.net/data/10s/prod/v1/{{gameDate}}/{{gameId}}_boxscore.json)
    + Parameters:
      * `gameDate`
      * `gameId`

  - `miniBoxscore`
    + Endpoint: [`/data/10s/prod/v1/{{gameDate}}/{{gameId}}_mini_boxscore.json`](http://data.nba.net/data/10s/prod/v1/{{gameDate}}/{{gameId}}_mini_boxscore.json)
    + Parameters:
      * `gameDate`
      * `gameId`

  - `pbp`
    + Endpoint: [`/data/10s/prod/v1/{{gameDate}}/{{gameId}}_pbp_{{periodNum}}.json`](http://data.nba.net/data/10s/prod/v1/{{gameDate}}/{{gameId}}_pbp_{{periodNum}}.json)
    + Parameters:
      * `gameDate`
      * `gameId`
      * `periodNum`

  - `leadTracker`
    + Endpoint: [`/data/10s/prod/v1/{{gameDate}}/{{gameId}}_lead_tracker_{{periodNum}}.json`](http://data.nba.net/data/10s/prod/v1/{{gameDate}}/{{gameId}}_lead_tracker_{{periodNum}}.json)
    + Parameters:
      * `gameDate`
      * `gameId`
      * `periodNum`

  - `playerGamelog`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/players/{{personId}}_gamelog.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/players/{{personId}}_gamelog.json)
    + Parameters:
      * `year`
      * `personId`

  - `playerProfile`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/players/{{personId}}_profile.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/players/{{personId}}_profile.json)
    + Parameters:
      * `year`
      * `personId`

  - `playerUberStats`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/players/{{personId}}_uber_stats.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/players/{{personId}}_uber_stats.json)
    + Parameters:
      * `year`
      * `personId`

  - `teamSchedule`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/teams/{{teamUrlCode}}/schedule.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/teams/{{teamUrlCode}}/schedule.json)
    + Parameters:
      * `year`
      * `teamUrlCode`

  - `teamsConfig`
    + Endpoint: [`/data/1h/prod/{{year}}/teams_config.json`](http://data.nba.net/data/1h/prod/{{year}}/teams_config.json)
    + Parameters:
      * `year`

  - `teamRoster`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/teams/{{teamUrlCode}}/roster.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/teams/{{teamUrlCode}}/roster.json)
    + Parameters:
      * `year`
      * `teamUrlCode`

  - `teamsConfigYear`
    + Endpoint: [`/data/1h/prod/{{seasonScheduleYear}}/teams_config.json`](http://data.nba.net/data/1h/prod/{{seasonScheduleYear}}/teams_config.json)
    + Parameters:
      * `seasonScheduleYear`

  - `teamScheduleYear`
    + Endpoint: [`/data/10s/prod/v1/{{seasonScheduleYear}}/teams/{{teamUrlCode}}/schedule.json`](http://data.nba.net/data/10s/prod/v1/{{seasonScheduleYear}}/teams/{{teamUrlCode}}/schedule.json)
    + Parameters:
      * `seasonScheduleYear`
      * `teamUrlCode`

  - `teamLeaders`
    + Endpoint: [`/data/10s/prod/v1/{{year}}/teams/{{teamUrlCode}}/leaders.json`](http://data.nba.net/data/10s/prod/v1/{{year}}/teams/{{teamUrlCode}}/leaders.json)
    + Parameters:
      * `year`
      * `teamUrlCode`

### Parameter Reference

  - `date`
    + `"YYYYMMDD"`

  - `year`
    + `"YYYY"`

  - `gameDate`
    + `"YYYYMMDD"`

  - `gameId`
    + Can be found on the gamepage. Currently looking for a source for these IDs (or just a method for how they're formed, _they seem to be completely random_). **A PR/contribution would be very appreciated.**

  - `periodNum`
    + `1`
    + `2`
    + `3`
    + `4`
    + `4+n` for OT`n` (e.g. `5` for OT1)

  - `personId`
    + Via [player page](http://www.nba.com/players).
    + E.g. `2544` for http://www.nba.com/players/lebron/james/2544.

  - `teamUrlCode`
    + _TODO_

  - `seasonScheduleYear`
    + _TODO_

### Examples

See [EXAMPLES.md](../EXAMPLES.md#data).

{'fraction_non_alphanumeric': 0.22233812083767954, 'fraction_numerical': 0.026879563507983633, 'mean_word_length': 3.33832231117299, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2434955', 'n_tokens_mistral': 5315, 'n_tokens_neox': 4981, 'n_words': 376}