Skip to content

dev-tomek/NBA_API_CLI_APP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

NBA_API_CLI_APP

Author: Tomasz Kuczyński

script/CLI that processes data from external API about NBA related data

Script usage examples:

  • In the terminal window:
    • python script.py grouped-teams
    • python script.py player-stats --name Kyle #--name (required)
    • python script.py teams-stats --season 2018 --output csv #--season (required) --output (not required), default stdout Possible outputs: csv, stdout, json

Script flaws / areas for prospective improvement:

  • Insufficient exception handling
  • Lack of support for sqlite output
  • async requests should be implemented in order to speed up the api calls
  • conversion of the script so that it is in accordance with OOP paradigm
  • spliting the functions into some smaller ones
  • more precise docstrings

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages