nba-api icon indicating copy to clipboard operation
nba-api copied to clipboard

TeamRoster Request by teamSlug error for 2 teams : sixers && blazers

Open cap340 opened this issue 5 years ago • 1 comments

All teams roster are working except for these slugs : sixers && blazers

Client error: GET http://data.nba.net/v2015/json/mobile_teams/nba/2018/teams/blazers_roster.json resulted in a 404 Not Found response

I also try to with your tools : http://nbasense.com/nba-api/Data/MobileTeams/Roster/TeamRoster#request-form-playground

Error: Could not retrieve the result at this time.

url in browser return empty page for those slugs too : http://data.nba.net/v2015/json/mobile_teams/nba/2018/teams/sixers_roster.json http://data.nba.net/v2015/json/mobile_teams/nba/2018/teams/blazers_roster.json

Thanks for your help

cap340 avatar Jun 01 '19 01:06 cap340

I will have to look into this further - either the NBA changed some of their team slugs, or some NBA endpoints use alternate ones. In the meantime these two endpoints will work:

http://data.nba.net/v2015/json/mobile_teams/nba/2018/teams/76ers_roster.json http://data.nba.net/v2015/json/mobile_teams/nba/2018/teams/trail_blazers_roster.json

jasonroman avatar Jun 03 '19 16:06 jasonroman