Socket
Socket
Sign inDemoInstall

nbb-api

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    nbb-api

Python package for easy access to Brazilian basketball data: NBB (Novo Basquete Brasil), Liga Ouro and LDB


Maintainers
1

Readme

pypi python version license

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:

JogadorEquipeJOMinPts3P2PLLCamisaTemporada
0McClanahanFortaleza B. C.2734.1120.896.1110.893.89222022-23
1AntonioUNIFACISA2631.7417.966.008.853.12112022-23
2ThomasCorinthians2732.1317.675.448.154.0702022-23
3Lucas MarianoSesi Franca2227.4117.597.237.642.73282022-23
4Lucas DiasSesi Franca2030.6517.505.858.603.0592022-23

Use it wisely!

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc