Skip to main content

pbp-stats-client

Python client library for the example usage of the PBP Stats API

The official client for the PBP Stats API has it's documentation page here. This client is meant to be used in addition to, not in place of, the official client.

Motivation

The official PBP stats client offers 3 objects to interact with:

-Games -Season -Day

And providing settings keys such as Boxscore, and Possesions allow you to access detailed data on the game, team, player, and lineup level.

Thus, these objects are great for collecting data, but the ease of collecting some generic and less specific data that is independent of game, season, or day was not easily available. For instance, you may be interest in getting a list of current team ids and team names for all teams in the NBA or maybe all player_ids in the history of the NBA. This client provides easy access to this data by wrapping direct requests URL to fetch them.

Getting Started

You can install the package using

pip install pbpstatsapi

Metadata

Release files for pbpstatsapi 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pbpstatsapi 1.0.2
File Size Uploaded Provenance
pbpstatsapi-1.0.2.tar.gz 9.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pbpstatsapi 1.0.2
File Interpreter ABI Platform
pbpstatsapi-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 16.1 kB

Release files / pbpstatsapi-1.0.2.tar.gz

Download URL pbpstatsapi-1.0.2.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
11fd819dd7e6ba3ac89ab586107d5a9a49ed1b3d9938af59e699bc598ee4462c
BLAKE2b-256 checksum
How to use checksums
ea9070fcfbb4266f842f52d8455481f142dba7b541a1d73ae5c0994d148bd995
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / pbpstatsapi-1.0.2-py3-none-any.whl

Download URL pbpstatsapi-1.0.2-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
535ebf2c854fc28c60203b1537185e64d5e31f90f8a14640560673bdf3ed74b7
BLAKE2b-256 checksum
How to use checksums
b7a4b5c7d7ca4b67b6f727ff9c833adf0338ecf77b46e17e10019fe2fee3f49f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Security for pbpstatsapi 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page