nba-apiv3


Namenba-apiv3 JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://github.com/shufinskiy/nba_apiv3
SummaryAn API Client package to access the APIs version 3 for NBA.com
upload_time2023-09-15 14:22:17
maintainerVladislav Shufinsky
docs_urlNone
authorVladislav Shufinsky
requires_python>=3.8,<4.0
licenseMIT
keywords api basketball data nba sports stats
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![PyPI](https://img.shields.io/pypi/v/nba_apiv3)](https://pypi.python.org/pypi/nba_apiv3)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/shufinskiy/nba_apiv3/blob/master/LICENSE)
[![Downloads](https://static.pepy.tech/badge/nba_apiv3)](https://pepy.tech/project/nba_apiv3)
[![Telegram](https://img.shields.io/badge/telegram-write%20me-blue.svg)](https://t.me/brains14482)

# nba_apiv3

## An API Client package to access the APIs version 3 for NBA.com

`nba_apiv3` is an API Client for `www.nba.com`. This package intends to make the APIs of [NBA.com](https://www.nba.com/) easily accessible and provide extensive documentation about them.

`nba_apiv3` is fork `nba_api` [package](https://github.com/swar/nba_api) and contains only endpoints that work with API version 3.

`nba_apiv3` contains two endpoints, which not work in `nba_api`:
  - [BoxScoreDefensiveV2](https://github.com/shufinskiy/nba_apiv3/blob/master/docs/nba_api/stats/endpoints/boxscoredefensivev2.md)
  - [BoxScoreMatchupsV3](https://github.com/shufinskiy/nba_apiv3/blob/master/docs/nba_api/stats/endpoints/boxscorematchupsv3.md)

# Getting Started

`nba_apiv3` requires Python 3.7+ along with the `requests` and `numpy` packages. While `pandas` is not required, it is required to work with Pandas DataFrames.

```bash
pip install nba_apiv3
```

## NBA 

```python
from nba_apiv3.stats.endpoints import boxscorematchupsv3

matchups = boxscorematchupsv3.BoxScoreMatchupsV3(game_id='0021700807')

## players stats
matchups.get_data_frames()[0]
```


# Documentation

- [Endpoints](/docs/nba_api/stats/endpoints)

# Contributing

*See [Contributing to the NBA_APIV3](https://github.com/shufinskiy/nba_apiv3/blob/master/CONTRIBUTING.md) for complete details.*

## Bugs

Encounter a bug, [report a bug](https://github.com/shufinskiy/nba_apiv3/issues).

# License & Terms of Use

## API Client Package

The `nba_apiv3` package is Open Source with an [MIT License](https://github.com/shufinskiy/nba_apiv3/blob/master/LICENSE).

## NBA.com

NBA.com has a [Terms of Use](https://www.nba.com/termsofuse) regarding the use of the NBA’s digital platforms.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/shufinskiy/nba_apiv3",
    "name": "nba-apiv3",
    "maintainer": "Vladislav Shufinsky",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "shufinsky.90210@gmail.com",
    "keywords": "api,basketball,data,nba,sports,stats",
    "author": "Vladislav Shufinsky",
    "author_email": "shufinsky.90210@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/77/4f/95ba933ebeea1a8e0313f6e9bc95c6895ca51f3236ec046a8980c68c4295/nba_apiv3-0.1.1.tar.gz",
    "platform": null,
    "description": "[![PyPI](https://img.shields.io/pypi/v/nba_apiv3)](https://pypi.python.org/pypi/nba_apiv3)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/shufinskiy/nba_apiv3/blob/master/LICENSE)\n[![Downloads](https://static.pepy.tech/badge/nba_apiv3)](https://pepy.tech/project/nba_apiv3)\n[![Telegram](https://img.shields.io/badge/telegram-write%20me-blue.svg)](https://t.me/brains14482)\n\n# nba_apiv3\n\n## An API Client package to access the APIs version 3 for NBA.com\n\n`nba_apiv3` is an API Client for `www.nba.com`. This package intends to make the APIs of [NBA.com](https://www.nba.com/) easily accessible and provide extensive documentation about them.\n\n`nba_apiv3` is fork `nba_api` [package](https://github.com/swar/nba_api) and contains only endpoints that work with API version 3.\n\n`nba_apiv3` contains two endpoints, which not work in `nba_api`:\n  - [BoxScoreDefensiveV2](https://github.com/shufinskiy/nba_apiv3/blob/master/docs/nba_api/stats/endpoints/boxscoredefensivev2.md)\n  - [BoxScoreMatchupsV3](https://github.com/shufinskiy/nba_apiv3/blob/master/docs/nba_api/stats/endpoints/boxscorematchupsv3.md)\n\n# Getting Started\n\n`nba_apiv3` requires Python 3.7+ along with the `requests` and `numpy` packages. While `pandas` is not required, it is required to work with Pandas DataFrames.\n\n```bash\npip install nba_apiv3\n```\n\n## NBA \n\n```python\nfrom nba_apiv3.stats.endpoints import boxscorematchupsv3\n\nmatchups = boxscorematchupsv3.BoxScoreMatchupsV3(game_id='0021700807')\n\n## players stats\nmatchups.get_data_frames()[0]\n```\n\n\n# Documentation\n\n- [Endpoints](/docs/nba_api/stats/endpoints)\n\n# Contributing\n\n*See [Contributing to the NBA_APIV3](https://github.com/shufinskiy/nba_apiv3/blob/master/CONTRIBUTING.md) for complete details.*\n\n## Bugs\n\nEncounter a bug, [report a bug](https://github.com/shufinskiy/nba_apiv3/issues).\n\n# License & Terms of Use\n\n## API Client Package\n\nThe `nba_apiv3` package is Open Source with an [MIT License](https://github.com/shufinskiy/nba_apiv3/blob/master/LICENSE).\n\n## NBA.com\n\nNBA.com has a [Terms of Use](https://www.nba.com/termsofuse) regarding the use of the NBA\u2019s digital platforms.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "An API Client package to access the APIs version 3 for NBA.com",
    "version": "0.1.1",
    "project_urls": {
        "Bug Tracker": "https://github.com/shufinskiy/nba_apiv3/issues",
        "Documentation": "https://github.com/shufinskiy/nba_apiv3/blob/master/README.md",
        "Homepage": "https://github.com/shufinskiy/nba_apiv3",
        "Repository": "https://github.com/shufinskiy/nba_apiv3"
    },
    "split_keywords": [
        "api",
        "basketball",
        "data",
        "nba",
        "sports",
        "stats"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c7f4bbe8841eaef9ff2f6f42185fa13d9279ad0fa7a066d20cd6b2f266fb18b2",
                "md5": "95a46cc4d687a0a3cdff28386a88845f",
                "sha256": "766daad54a600ba163a0db4490e66d97a7637f7b14abd3019c892f8b758cef2c"
            },
            "downloads": -1,
            "filename": "nba_apiv3-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "95a46cc4d687a0a3cdff28386a88845f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 89802,
            "upload_time": "2023-09-15T14:22:14",
            "upload_time_iso_8601": "2023-09-15T14:22:14.028291Z",
            "url": "https://files.pythonhosted.org/packages/c7/f4/bbe8841eaef9ff2f6f42185fa13d9279ad0fa7a066d20cd6b2f266fb18b2/nba_apiv3-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "774f95ba933ebeea1a8e0313f6e9bc95c6895ca51f3236ec046a8980c68c4295",
                "md5": "052404fbe71d1c82774d4aab3f38da7c",
                "sha256": "c3e38b7a59a0ba6c00aba5e358474d900aafe3646166cc9963bd0c924fb79e3e"
            },
            "downloads": -1,
            "filename": "nba_apiv3-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "052404fbe71d1c82774d4aab3f38da7c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 79231,
            "upload_time": "2023-09-15T14:22:17",
            "upload_time_iso_8601": "2023-09-15T14:22:17.002831Z",
            "url": "https://files.pythonhosted.org/packages/77/4f/95ba933ebeea1a8e0313f6e9bc95c6895ca51f3236ec046a8980c68c4295/nba_apiv3-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-15 14:22:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "shufinskiy",
    "github_project": "nba_apiv3",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "nba-apiv3"
}
        
Elapsed time: 0.95903s