Open pratikshabhujade opened 3 months ago
Thank you for creating this issue! 🎉
We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊
You can also check our [CONTRIBUTING.md] for guidelines on contributing to this Domain.
"National Basketball Association" Leaderboard Application This Python application interacts with the "National Basketball Association" (NBA) API to fetch and display real-time game scores and team statistics. It uses the requests library to make HTTP requests and processes JSON data from the NBA's online resources.
Features Scoreboard Fetching: Retrieves the current scoreboard, showing live NBA game scores, periods, and clock status. Team Stats Leaderboard: Displays the league's top teams based on points per game (PPG), along with rankings and additional stats.
Requirements Python 3.x Requests library: You can install it using pip install requests PrettyPrinter (for clean output formatting)
Customizing API Requests To fetch specific data, you can modify the API request URL to include parameters such as year, language, and season. This allows you to retrieve information based on different seasons, languages, and specific years. Adjust these parameters in the URL according to your needs:
Base URL: https://cdn.nba.com Scoreboard Endpoint: /static/json/liveData/odds/odds_todaysGames.json Team Stats Endpoint: /static/json/liveData/odds/odds_todaysGames.json
Simply append your desired parameters to these URLs to tailor the data retrieval to your requirements.