Skip to content

Command-line utility for NBA using SportRadar API

Notifications You must be signed in to change notification settings

wyyz514/nba-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NBA-CLI

Command-line utility for keeping up to date with NBA scores and schedules using the SportRadar API

NBA CLI gif

Installation

Get a SportRadar API key for NBA

Sportradar Registration link

  • My Account -> Create New App -> Generate key for NBA trial

Add to your environment

vi ~/.bashrc
export NBA_SR_KEY=_YOUR_SPORTRADAR_KEY
:wq
source ~/.bashrc

Run npm install Then npm link

Enter nba -d [Some number of days; positive for future dates, negative for past dates]

  • Only tested in Linux terminal. Results may vary

Note

For negative inputs, ensure to escape the parameter. eg nba -d \ -2

About

Command-line utility for NBA using SportRadar API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published