The documentation for the NBA api used here https://github.com/kshvmdn/nba.js/blob/master/docs/EXAMPLES.md#stats