swar / nba_api

An API Client package to access the APIs for NBA.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there an endpoint for accessing basic team opponent stats (besides just shot-related stats), such as RPG allowed, APG allowed, etc., as well as advanced team opponent stats?

sspink opened this issue · comments

I'd like to start by stating this is such an awesome tool, and I'm super grateful that people have put the work in to make this data easily accessible.

I've found some team opponent stats via the LeagueDashOppPtShot endpoint, but this only provides allowed field goal data. Is there an equivalent endpoint for other basic and advanced stats?

Also, as a secondary issue, I noticed that the output from LeagueDashOppPtShot seems to be a few games behind the output from other endpoints. For example, the output from leaguedashteamstats.LeagueDashTeamStats shows that Denver has played 17 games (correct), while the output from leaguedashoppptshot.LeagueDashOppPtShot shows that Denver has played 15 games (incorrect).

Thanks!