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

TeamOpponentSplits class's by_opponent() method doesn't work. #118

Open feelosophy13 opened 6 years ago

feelosophy13 commented 6 years ago

by_opponent() method renders the same result as the by_division() method.

from nba_py import team, game, player, constants
a = nba_py.team.TeamOpponentSplits(team_id='1610612752')
a.by_opponent()
a.by_division()