Skip to content

Some tools and documentation for accessing National Basketball Association Season Schedules from data.nba.com

Notifications You must be signed in to change notification settings

rlabausa/nba-schedule-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

NBA-Schedule-Data

This repository contains tools, information, and documentation for accessing NBA season/post-season data that is available through data.nba.com.

Accessing the Schedule Data

The full JSON file for an NBA season schedule (2015 or later) can be accessed through the URL:

https://data.nba.com/data/10s/v2015/json/mobile_teams/nba/{YEAR}/league/00_full_schedule.json

JSON Structure

 + lscd
    + mscd
        + mon
        + g
            - gid
            - gcode
            - seri
            - is
            - gdte
            - htm
            - vtm
            - etm
            - an
            - as
            - st
            - stt
            + bd
                + b ...
            + v
                - tid
                - re
                - ta
                - tn
                - tc
                - s
            + h
                - tid
                - re
                - ta
                - tn
                - tc
                - s
            - gdtutc
            - utctm
            - ppdst
            + ptsls ...
    + mscd 
    + mscd
    ...
               

JSON Breakdown

Name Description Value Type Example
lscd League Schedule Array of JSON Objects
mscd Month Schedule Array of JSON Objects
mon Month String "June"
g Games Array of JSON Objects
gid Game ID String "0041500407"
gcode Game Code String "20160619/CLEGSW"
seri Playoff Series Summary String "CLE wins series 4-3"
gdte Game Date String "2016-06-19"
an Arena String "ORACLE Arena"
ac Arena City String "Oakland"
as Arena State String "CA"
stt Game Status String "Final"
bd Broadcast Information JSON Object
b Broadcasters Array of JSON Objects
v Visiting Team Information JSON Object
h Home Team Information JSON Object
tid Team ID Integer 1610612739
re W-L Record String "16-5"
ta Team Abbreviation String "CLE"
tn Team Name String "Cavaliers"
tc Team City String "Cleveland"
s Team Score String "93"
gdtutc Game Date UTC String "2016-06-20"
utctm UTC Time String "00:00"

Examples for data collection can be found here.

About

Some tools and documentation for accessing National Basketball Association Season Schedules from data.nba.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages