Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look at differences between /games endpoint #74

Open
jbkuczma opened this issue May 8, 2018 · 1 comment
Open

Look at differences between /games endpoint #74

jbkuczma opened this issue May 8, 2018 · 1 comment
Assignees
Labels

Comments

@jbkuczma
Copy link
Owner

jbkuczma commented May 8, 2018

Currently the ScoresScreen is populated with data from data.nba.net. There is another endpoint from stats.nba.com that provides game info as well, sometimes with more information. This ticket is a place to gather info for if I want to change the source or even extend to include data from both sources.

Example endpoints:

Source URL Notable Data
data.nba.net https://data.nba.net/prod/v2/20180507/scoreboard.json - Faster data updates (not verified, based on observation)
- All data for a game is contained in one object
- Playoff matchup information
stats.nba.com http://stats.nba.com/stats/scoreboardV2/?gamedate=2018-05-07&leagueid=00&dayoffset=0 - TeamLeaders for game
- Playoff matchup information
- Last Meeting
- Win Probability (empty)
@jbkuczma jbkuczma added the task label May 8, 2018
@jbkuczma jbkuczma self-assigned this May 8, 2018
@jbkuczma
Copy link
Owner Author

jbkuczma commented May 8, 2018

Playoff data

  • data.nba.net
"playoffs":{
    "roundNum":"2",
    "confName":"West",
    "seriesId":"20",
    "seriesSummaryText":"HOU leads 3-1",
    "isSeriesCompleted":false,
    "gameNumInSeries":"4",
    "isIfNecessary":false,
    "vTeam":{"seedNum":"1","seriesWin":"3","isSeriesWinner":false},
    "hTeam":{"seedNum":"5","seriesWin":"1","isSeriesWinner":false}
}
  • stats.nba.com
    {
        "name": "SeriesStandings",
        "headers":["GAME_ID","HOME_TEAM_ID","VISITOR_TEAM_ID","GAME_DATE_EST","HOME_TEAM_WINS","HOME_TEAM_LOSSES","SERIES_LEADER"],
        "rowSet":[
            ["0041700234",1610612740,1610612744,"2018-05-06T00:00:00",1,3,"Golden State"],      
            ["0041700224",1610612762,1610612745,"2018-05-06T00:00:00",1,3,"Houston"]
        ]
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant