Skip to main content

A Python wrapper around some requests to the PBP Stats API

Project description

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

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

pbpstatsapi-1.0.2.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

pbpstatsapi-1.0.2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file pbpstatsapi-1.0.2.tar.gz.

File metadata

  • Download URL: pbpstatsapi-1.0.2.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pbpstatsapi-1.0.2.tar.gz
Algorithm Hash digest
SHA256 11fd819dd7e6ba3ac89ab586107d5a9a49ed1b3d9938af59e699bc598ee4462c
MD5 3dcb1bf935c26f6c2569cb37fcee7cc0
BLAKE2b-256 ea9070fcfbb4266f842f52d8455481f142dba7b541a1d73ae5c0994d148bd995

See more details on using hashes here.

File details

Details for the file pbpstatsapi-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: pbpstatsapi-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pbpstatsapi-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 535ebf2c854fc28c60203b1537185e64d5e31f90f8a14640560673bdf3ed74b7
MD5 c846562e9e703f4aaf2f2626aaea9654
BLAKE2b-256 b7a4b5c7d7ca4b67b6f727ff9c833adf0338ecf77b46e17e10019fe2fee3f49f

See more details on using hashes here.

Supported by

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