NBA Chatbot for Telegram to provide information for players, teams and the league.
The previous APIs I was using were built from looking at websites using BeautifulSoup / Selenium. This often led to crashes and unstable behavior not producing the results I wanted.
After finding nba-api, I am working on porting over functionality using these APIs.
Legacy code will remain in the "old" folder.
- /playerstats player
Returns the specified player's stats for the current season from the PlayerDashboardByYearOverYear
- /careerstats player
Returns the career stats for the selected player.
- /games (Pending Porting Over)
Returns today's NBA games with live scores (if applicable) with links to game box scores from nba.com using Selenium.
- /standings east/west
Returns the standings for the specified conference from LeagueStandings endpoint. Returns standings from both conferences if argument not specified.
- /teamstats team_name
Returns general statistics for the specified team taken from TeamDashboardByYearOverYear endpoint.
- /teamstats - Overview for a team with record, upcoming matches, injury reports and stat leaders
- [] Added functionality to playerstats with in-line buttons to present active seasons for a selected player
- [] Rewriting game command using nba_api endpoints