Displays statistics about the games and players in the National Basketball Association.
Screenshots
![]() |
![]() |
![]() |
![]() |
Features
- Upcoming 6 games
- Previous 6 games
- Game Preview Articles
- Game Recap Articles
- Catalog of games and scores for the past 2 years
- In-depth statistics about each game
- Current standings of all 30 teams
- Latest news and headlines from the past week
- In-depth information about players and their careers
Resources
- Flask
- Bootstrap
- JQuery
- Ajax
- Beautiful Soup
- data.nba.net
- News API
- Sportsradar Official NBA v5 API
- Various other CDNs
Languages
- HTML
- CSS
- Javascript
- Python
Installations
- pip3 install bs4
- pip3 install newsapi-python
- pip3 install flask
Directions
- Clone this repository
- Install all the modules listed under Installations in the terminal
- Make sure Python 3.7 or higher is installed on your computer
- Run app.py
- Visit http://127.0.0.1:5000/ in your browser
If you are getting an error about datetime.datetime.fromisoformat(), make sure you have Python 3.7 or higher installed. Then in the terminal change the directory to the location of this repository. To run app.py type 'python3 app.py' or 'py app.py' or 'py-3 app.py'.
If you want to access the website on different devices, make sure they are connected to the same network. Then, type in the private IP address of your network and the default port 5000 into your browser (i.e. 192.168.1.11:5000).