Skip to content

Get current news and stats from the NBA live and directly to your terminal!

Notifications You must be signed in to change notification settings

thonmakerformvp/nba-news-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 

Repository files navigation

nba-news-terminal

Get current news and stats from the NBA live and directly to your terminal!

To run the news retriever you will need to have python 3 installed, as well as the pip libraries click and requests.

Then, just save main.py whever you want on your local machine and run:

python main.py --lookup="game-summary"

python main.py --lookup="games"

python main.py --lookup="print-lead-summary"

The games parameter will show you today's games, as well as live scores for those games.

The game-summary parameter will show you short write ups about each of the games that have concluded today.

Some example output from the "games" parameter would be the following:

ONGOING GAMES:

BOS Celtics VS Spurs SAS       66:56    3rd Qtr
	Kyrie Irving: 24 PTS, LaMarcus Aldridge: 11 PTS
	Al Horford: 10 REBS, LaMarcus Aldridge: 5 REBS
	Kyrie Irving: 5 ASTS, Dejounte Murray: 4 ASTS

NYK Knicks VS Nuggets DEN       69:56    3rd Qtr
	Kristaps Porzingis: 22 PTS, Nikola Jokic: 16 PTS
	Enes Kanter: 6 REBS, Paul Millsap: 7 REBS
	Jarrett Jack: 9 ASTS, Paul Millsap: 4 ASTS

MEM Grizzlies VS Hornets CHA       54:51    2nd Qtr
	Tyreke Evans: 11 PTS, Kemba Walker: 17 PTS
	Marc Gasol: 3 REBS, Jeremy Lamb: 4 REBS
	Mike Conley: 3 ASTS, Marvin Williams: 2 ASTS

HOU Rockets VS 76ers PHI       54:58    2nd Qtr
	James Harden: 15 PTS, Joel Embiid: 12 PTS
	Clint Capela: 7 REBS, Robert Covington: 4 REBS
	James Harden: 6 ASTS, Ben Simmons: 7 ASTS

NOP Pelicans VS Magic ORL       56:52    2nd Qtr
	Anthony Davis: 26 PTS, Evan Fournier: 16 PTS
	DeMarcus Cousins: 9 REBS, Nikola Vucevic: 4 REBS
	Jameer Nelson: 6 ASTS, D.J. Augustin: 2 ASTS

MIA Heat VS Timberwolves MIN       70:69    3rd Qtr
	Goran Dragic: 16 PTS, Andrew Wiggins: 13 PTS
	Bam Adebayo: 8 REBS, Karl-Anthony Towns: 8 REBS
	Dion Waiters: 3 ASTS, Jeff Teague: 7 ASTS


UPCOMING GAMES TODAY:

POR Trail Blazers VS Raptors TOR       10:00 PM ET

UTA Jazz VS Mavericks DAL       09:00 PM ET

LAC Clippers VS Warriors GSW       10:30 PM ET

And if you were to enter the print-lead-summary command the following is some example output:

       # #                                                                                                                                  
#      # #                                                                                                                                  
#####  # #####                                                                                                                                 
#####  # #####                                                                                                                                 
---------------------------------Q2-----------------------------------------Q3------------------------------Q4---------------------------------
           #  # ##################### #####################################################################################################
                  ## # ##############   # ## ##############################################################################################
                   # # ## # # #### #    #  #  # ###########################################################################################
                               ##                ##########################################################################################
                                                  #########################################################################################
                                                   # ## ########################## # ###### ###############################################
                                                      #  ## ################## # #   ###### ###############################################
                                                         #   ################  #      # ##   ##############################################
                                                              ## # ######  #          #       # ###########################################
                                                                    #  #                         ##########################################
                                                                                                 ##########################################
                                                                                                  ## # ## ##  # ###########################
                                                                                                  #    #  #   # ###########################
                                                                                                                 ##################   #####
                                                                                                                  ############## #     ####
                                                                                                                   # ########### #      ###
                                                                                                                     # # # #  #           #

About

Get current news and stats from the NBA live and directly to your terminal!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages