Skip to main content

Cache-or-GET NBA Wrapper

This is a simple wrapper over the stats.nba.com API which caches requests made.

Visit my Personal Website for other projects.

Dependencies

This project uses requests and sqlalchemy

Instructions

pip install cog_nba

Available Commands

The following command scan be used at this stage.

cog_nba.nba.get_current_players()

cog_nba.nba.get_all_players()

cog_nba.nba.get_player_career_data(player_id)

Alternatively, you can access any given endpoint by using:

cog_nba.nba.get(endpoint, params)

Metadata

Release files for cog-nba 0.0.8

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

Source distribution (sdist)

Source distribution for cog-nba 0.0.8
File Size Uploaded Provenance
cog_nba-0.0.8.tar.gz 3.7 kB Without provenance Details

Release files / cog_nba-0.0.8.tar.gz

Download URL cog_nba-0.0.8.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8a478c095ddda10bc74a7e8da02871922e62f4983f51bc3af5d509ed90835cbe
BLAKE2b-256 checksum
How to use checksums
97046d9e38900765d1a1a77c01576f9a83b8f35fbe352f711b0d35d04b645f9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

Security for cog-nba 0.0.8

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.8 This release

1 release file No provenance

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