nbb_api
Python package for easy access to Brazilian basketball data through scraping of LNB website.
This allows users to obtain statistics, standings, and scores for various seasons and phases of the following tournaments:
- NBB (Novo Basquete Brasil)
- LDB (Liga de Desenvolvimento de Basquete)
- Liga Ouro
Installing
Via pip
This library was written as an exercise for creating my first PyPi package. Hopefully you will find it valuable! Install with the following command:
pip install nbb-api
Documentation
For documentation about the API methods refer to the documentation.
Example of use
from nbb_api import nbb
nbb.get_stats('2022-23','regular','cestinhas').head()
Output:
| Jogador | Equipe | JO | Min | Pts | 3P | 2P | LL | Camisa | Temporada | |
|---|---|---|---|---|---|---|---|---|---|---|
| 0 | McClanahan | Fortaleza B. C. | 27 | 34.11 | 20.89 | 6.11 | 10.89 | 3.89 | 22 | 2022-23 |
| 1 | Antonio | UNIFACISA | 26 | 31.74 | 17.96 | 6.00 | 8.85 | 3.12 | 11 | 2022-23 |
| 2 | Thomas | Corinthians | 27 | 32.13 | 17.67 | 5.44 | 8.15 | 4.07 | 0 | 2022-23 |
| 3 | Lucas Mariano | Sesi Franca | 22 | 27.41 | 17.59 | 7.23 | 7.64 | 2.73 | 28 | 2022-23 |
| 4 | Lucas Dias | Sesi Franca | 20 | 30.65 | 17.50 | 5.85 | 8.60 | 3.05 | 9 | 2022-23 |
Use it wisely!
Metadata
Release files for nbb-api 0.1.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nbb_api-0.1.11.tar.gz | 4.7 kB | Without provenance | Details for nbb_api-0.1.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nbb_api-0.1.11-py3-none-any.whl | Python 3 | none | any | Details for nbb_api-0.1.11-py3-none-any.whl |
Total release size: 11.6 kB
Release files / nbb_api-0.1.11.tar.gz
| Download URL | nbb_api-0.1.11.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27dd4769c9819df27a2a8c113b0fcc74d82d301010bd8f4ab5e27df103c55d73
|
|
BLAKE2b-256 checksum How to use checksums |
b26a17f46b85297cce8982a015988f6f695b7eed711fffb9ca96e6c8583d62ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.1
|
Release files / nbb_api-0.1.11-py3-none-any.whl
| Download URL | nbb_api-0.1.11-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f56016df9d2f3f1f92afa8f10001fc0a8fcb32fc9d0c10b5e0c01e094944d8b7
|
|
BLAKE2b-256 checksum How to use checksums |
513b41e0a1b42e1e324c79402edabad6dd62500b0f3b78a252f8a2e6706ebef6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.1
|
Security for nbb-api 0.1.11
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.