https://github.com/kshvmdn/nba.js
Node.js library for NBA stats
https://github.com/kshvmdn/nba.js
basketball nba nodejs npm sports
Last synced: 6 months ago
JSON representation
Node.js library for NBA stats
- Host: GitHub
- URL: https://github.com/kshvmdn/nba.js
- Owner: kshvmdn
- License: mit
- Archived: true
- Created: 2015-12-31T02:13:08.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-04-14T19:03:15.000Z (about 8 years ago)
- Last Synced: 2025-10-26T10:34:41.712Z (8 months ago)
- Topics: basketball, nba, nodejs, npm, sports
- Language: JavaScript
- Homepage: http://npmjs.com/package/nba.js
- Size: 233 KB
- Stars: 360
- Watchers: 20
- Forks: 46
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
## nba.js
[](https://badge.fury.io/js/nba.js)
[](https://travis-ci.org/kshvmdn/nba.js)
[](https://coveralls.io/github/kshvmdn/nba.js?branch=master)
[](https://david-dm.org/kshvmdn/nba.js)
[](https://github.com/prettier/prettier)
> A Node.js library for current and historical NBA stats, scores, and data.
### Table of contents
* [Installation](#installation)
* [Usage](#usage)
* [Examples](#examples)
* [Contribute](#contribute)
* [License](#license)
Full documentation and usage guide can be found [here](docs).
### Installation
Install via [npm](https://npmjs.com/packages/nba.js).
```sh
$ npm install --save nba.js
```
### Usage
* This library provides access to data from 2 different APIs:
* [data.nba.net](http://data.nba.net)
* [stats.nba.com](http://stats.nba.com)
* For the full usage guide, see [USAGE.md](docs/USAGE.md).
* **Method & parameter reference**: [`nba.data`](docs/api/DATA.md),
[`nba.stats`](docs/api/STATS.md).
### Examples
See [EXAMPLES.md](docs/EXAMPLES.md).
### Contribute
This project is completely open source. Feel free to
[open an issue](https://github.com/kshvmdn/nba.js/issues) or
[make a pull request](https://github.com/kshvmdn/nba.js/pulls).
For more information, see [CONTRIBUTING.md](docs/CONTRIBUTING.md).
### License
[MIT](./LICENSE) © [Kashav Madan](http://kshvmdn.com).