nba-api
nba-api copied to clipboard
TeamRoster Request by teamSlug error for 2 teams : sixers && blazers
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 a404 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
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