Home - JiaqiChen23/cs5200_fall2018_BUPT GitHub Wiki

Welcome to the cs5200_fall2018_BUPT wiki!

Please contact Jiaqi Chen (8573340676, [email protected]) or Chao Wang(2023042656, [email protected]) if there is any problem with the project, thank you!

Our project YouTube URL is: https://youtu.be/QzJFJNNv34Q

Problem Statement: In this huge NBA networks, a huge amount of all kinds of information is not that easy to manage and process centralized. All the fans, players, bosses, and the sponsors are filled in all the data that are not processed.

Proposed Solution: To solve this problem, we design this database to let Fans can search, like and vote the players that they are interested in. At the same time, the draft information is also proposed to the users for a reminder. The sponsor can interact with the boss by sponsoring his team, also the scout can write a report to the boss about some NBA players.

The four potential domain objects are the players, the teams, the stadiums and the drafts of each year. Then the four potential human users are the fan, boss, scout, and sponsor.

UML

API Endpoint: stats.nba.com/stats/

This API provides a large amount of data about NBA start at 1947 till now, which is very comprehensive and accurate. Through using this API, we can get three domain objects: player, team, and draft. Also, some of the data in one object related to another object which can be seen as a relationship between them.

For player and team info, we use the "commonallplayers" endpoint with params: LeagueID, Season and IsOnlyCurrentSeason. Then we can get info related to the player including id, name, career year etc. At the same time, there is info related to the team including team id, team name, team city etc.

For draft info, we use the "drafthistory" endpoint with param: LeagueID. Then we can get info including id, player name, year, team etc.