Package for obtaining live nfl play by play data
Project description
nfllivepy
About
Python package for obtaining live nfl play by play data
For pbp data for past games, view nfl-data-py which gets its data from the 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. For a full list of all the ESPN v2 NFL api endpoints, click here.
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.
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")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nfllivepy-0.1.0a1.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for nfllivepy-0.1.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a768f5a67a792ac9c9bcaba7671a4345f14f0d4a16b2cb12bf6724da383ef657 |
|
MD5 | cd375c6cf4f7b53eedf96de75c93c5f1 |
|
BLAKE2b-256 | 561c65ed0129888733847eff8a0c7629331819b43c500f8ec0ded9c31d9c3a3b |