An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

## nba.js

[![npm version](https://badge.fury.io/js/nba.js.svg)](https://badge.fury.io/js/nba.js)
[![Build Status](https://travis-ci.org/kshvmdn/nba.js.svg?branch=master)](https://travis-ci.org/kshvmdn/nba.js)
[![Coverage Status](https://coveralls.io/repos/github/kshvmdn/nba.js/badge.svg?branch=master)](https://coveralls.io/github/kshvmdn/nba.js?branch=master)
[![Dependency Status](https://img.shields.io/david/kshvmdn/nba.js.svg)](https://david-dm.org/kshvmdn/nba.js)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](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).