swar / nba_api

An API Client package to access the APIs for NBA.com
MIT License
2.43k stars 524 forks source link

[Bug]: get_wnba_teams() doesn't work? #456

Open rj7002 opened 1 month ago

rj7002 commented 1 month ago

NBA API Version

V1.5.0

Issue

I tried to use the get_wnba_teams() method from the static teams class but it seems like it doesn't exist. Is there any way you can fix this

Code

No response

sharifhsn commented 1 month ago

I just ran it on my own machine and it worked fine. Is this the only method that is not working for you?

rj7002 commented 1 month ago

Yeah, it doesn't show up as an available method. Could you share your code so I can see how you ran it?

sharifhsn commented 1 month ago

This should work:

from nba_api.stats.static import teams
print(teams.get_wnba_teams())