imathur1 / nba_website

NBA Stats Website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NBA-Website

Displays statistics about the games and players in the National Basketball Association.

Screenshots

Home Scores
Game Information Standings

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

Languages

  • HTML
  • CSS
  • Javascript
  • Python

Installations

  • pip3 install bs4
  • pip3 install newsapi-python
  • pip3 install flask

Directions

  1. Clone this repository
  2. Install all the modules listed under Installations in the terminal
  3. Make sure Python 3.7 or higher is installed on your computer
  4. Run app.py
  5. 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).

About

NBA Stats Website


Languages

Language:HTML 34.7%Language:JavaScript 29.3%Language:CSS 18.9%Language:Python 17.1%