GET
/
v1
/
{league}
/
shot-types
Get NBA shot-type aggregates (NBA only)
curl --request GET \
  --url http://localhost:8082/v1/{league}/shot-types \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
default:tok_public_demo
required

Send a workspace API token in the Authorization: Bearer <token> header.

Path Parameters

league
string
required

League identifier from the /v1/leagues catalog (e.g. mlb, nba, epl). Unknown values return 404 unsupported_league.

Query Parameters

season
integer
required
Required range: 1946 <= x <= 2100

Response

Team shot-type aggregate response for the requested NBA season.