API-NBA

부분 유료
Verified
분류별 API-SPORTS | 업데이트됨 15 giorni fa | Sports
인기

9.9 / 10

지연 시간

461ms

서비스 수준

99%

Health Check

N/A

모든 토론으로 돌아가기

Not allowing me to get players for all NBA teams in one API call

Rapid account: Ejones 0606
ejones0606
2 anni fa

In your “Endpoints” examples for players, you say that the “team” parameter is optional. However, when I try querystring = {“season”: “2021”}, I get an error saying “The Team Field is Required”.

Please let me know if there is a way to fix this or get around this error, because I am trying to get all the players on all NBA teams, and it takes way too much time to get the data when I have to do 30 API calls (one for each NBA team).

Rapid account: Api Sports
api-sports Commented 2 anni fa

Hi,

It’s impossible to get all players in one call, Indeed the parameter “team” is optional because it is possible to mix the parameters between them, you have some examples in the documentation: https://api-sports.io/documentation/nba/v2#tag/Players

Best

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입