nfllivepy


Namenfllivepy JSON
Version 0.1.0 PyPI version JSON
download
home_page
SummaryPackage for obtaining live nfl play by play data
upload_time2023-09-10 02:21:01
maintainer
docs_urlNone
author
requires_python>=3.8
licenseMIT License Copyright (c) 2022 Josh Kazan Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords nfl pbp
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # nfllivepy

## About
Python package for obtaining live nfl play by play data

For pbp data for past games, view [nfl-data-py](https://pypi.org/project/nfl-data-py/) which gets its data from the [nflreadr](https://github.com/nflverse/nflreadr) package. This data contains postprocessing variables which are more detailed then the ones in the live data.

Much of this package is inspired by the work of [nfl-nerd](https://github.com/nntrn/nfl-nerd). For a full list of all the ESPN v2 NFL api endpoints, click [here](https://gist.github.com/nntrn/ee26cb2a0716de0947a0a4e9a157bc1c#v2sportsfootballleaguesnflseasonsyeartypes).

## Installation
This project can be installed with pip by running:  
`pip install nfllivepy`

## Usage
nfllivepy is very simple and easy to use, wth two simple methods to obtain live data.

```python
from nfllivepy.requester.pbp_requester import PBPRequester

requester = PBPRequester()

# Get live data for all current games
requester.get_live_pbp_all_games()

# Get live data for the Chicago Bears
requester.get_live_pbp_for_team("CHI")
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "nfllivepy",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "nfl,pbp",
    "author": "",
    "author_email": "Josh Kazan <jlkazan@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/35/58/1dc6e5cddc4416962ecbbc2fe5bd0d779bca6c22ddbd0fdfeeaa8028f834/nfllivepy-0.1.0.tar.gz",
    "platform": null,
    "description": "# nfllivepy\r\n\r\n## About\r\nPython package for obtaining live nfl play by play data\r\n\r\nFor pbp data for past games, view [nfl-data-py](https://pypi.org/project/nfl-data-py/) which gets its data from the [nflreadr](https://github.com/nflverse/nflreadr) package. This data contains postprocessing variables which are more detailed then the ones in the live data.\r\n\r\nMuch of this package is inspired by the work of [nfl-nerd](https://github.com/nntrn/nfl-nerd). For a full list of all the ESPN v2 NFL api endpoints, click [here](https://gist.github.com/nntrn/ee26cb2a0716de0947a0a4e9a157bc1c#v2sportsfootballleaguesnflseasonsyeartypes).\r\n\r\n## Installation\r\nThis project can be installed with pip by running:  \r\n`pip install nfllivepy`\r\n\r\n## Usage\r\nnfllivepy is very simple and easy to use, wth two simple methods to obtain live data.\r\n\r\n```python\r\nfrom nfllivepy.requester.pbp_requester import PBPRequester\r\n\r\nrequester = PBPRequester()\r\n\r\n# Get live data for all current games\r\nrequester.get_live_pbp_all_games()\r\n\r\n# Get live data for the Chicago Bears\r\nrequester.get_live_pbp_for_team(\"CHI\")\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2022 Josh Kazan  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Package for obtaining live nfl play by play data",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/jlkazan/nfllivepy"
    },
    "split_keywords": [
        "nfl",
        "pbp"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fab6cf8c977d40f0649a84b5e804b9704852d3715e9c06159853f780bd471c0a",
                "md5": "8255084864e9452fd03e8f1a1ea1de99",
                "sha256": "f0ca9700e3ff359d70dfcef726b0d3d87d25fa733f076389e4c0dbe77c8b2ea1"
            },
            "downloads": -1,
            "filename": "nfllivepy-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8255084864e9452fd03e8f1a1ea1de99",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 7578,
            "upload_time": "2023-09-10T02:20:59",
            "upload_time_iso_8601": "2023-09-10T02:20:59.594692Z",
            "url": "https://files.pythonhosted.org/packages/fa/b6/cf8c977d40f0649a84b5e804b9704852d3715e9c06159853f780bd471c0a/nfllivepy-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "35581dc6e5cddc4416962ecbbc2fe5bd0d779bca6c22ddbd0fdfeeaa8028f834",
                "md5": "a0e5f2b310e82110fb8ebae46166013e",
                "sha256": "cbf5119843a9d28d0ea3d63a5d3058ea4dc0b290037bf745e6c25347e52b343a"
            },
            "downloads": -1,
            "filename": "nfllivepy-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "a0e5f2b310e82110fb8ebae46166013e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 6588,
            "upload_time": "2023-09-10T02:21:01",
            "upload_time_iso_8601": "2023-09-10T02:21:01.414533Z",
            "url": "https://files.pythonhosted.org/packages/35/58/1dc6e5cddc4416962ecbbc2fe5bd0d779bca6c22ddbd0fdfeeaa8028f834/nfllivepy-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-10 02:21:01",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jlkazan",
    "github_project": "nfllivepy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "nfllivepy"
}
        
Elapsed time: 0.15570s