Skip to main content

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


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.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nfllivepy-0.1.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file nfllivepy-0.1.0.tar.gz.

File metadata

  • Download URL: nfllivepy-0.1.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.1

File hashes

Hashes for nfllivepy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cbf5119843a9d28d0ea3d63a5d3058ea4dc0b290037bf745e6c25347e52b343a
MD5 a0e5f2b310e82110fb8ebae46166013e
BLAKE2b-256 35581dc6e5cddc4416962ecbbc2fe5bd0d779bca6c22ddbd0fdfeeaa8028f834

See more details on using hashes here.

File details

Details for the file nfllivepy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nfllivepy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.1

File hashes

Hashes for nfllivepy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f0ca9700e3ff359d70dfcef726b0d3d87d25fa733f076389e4c0dbe77c8b2ea1
MD5 8255084864e9452fd03e8f1a1ea1de99
BLAKE2b-256 fab6cf8c977d40f0649a84b5e804b9704852d3715e9c06159853f780bd471c0a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page