seemethere / nba_py

Python client for NBA statistics located at stats.nba.com
BSD 3-Clause "New" or "Revised" License
1.05k stars 255 forks source link

Other Player Averages #105

Open emmanuelobo opened 6 years ago

emmanuelobo commented 6 years ago

How do I get access to the rest of the player's season averages? Such as BPG, SPG, FG%, FT% etc.

rneu31 commented 6 years ago

Which function are you currently using? I'd be more than willing to help with some more information, thanks!

emmanuelobo commented 6 years ago

Right now this is how I'm getting the stats

searched_player = player.PlayerSummary(pid)
player_last_game = player.PlayerGameLogs(pid).info()[0]
player_stats = searched_player.headline_stats()[0]
player_info = searched_player.info()[0]