Giter Site home page Giter Site logo

mikethoun / nba-schedule-data Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rlabausa/nba-schedule-data

0.0 0.0 0.0 10 KB

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

Python 100.00%

nba-schedule-data's Introduction

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.

nba-schedule-data's People

Contributors

rlabausa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.