BasicNBA Teams
NBA Teams
These endpoints allow you to retrieve all NBA teams, a single NBA team by its id, or a random NBA team. The response will be an array of JSON objects if you request all teams, or a single JSON object if you request a single team or a random team.
The NBA Team model
Prop | Type | Default |
---|---|---|
id | integer | - |
city | string | - |
conference | string | - |
division | string | - |
full_name | string | - |
name | string | - |
All NBA teams
GET/nba-teams
Retrieve all NBA teams.
Single NBA team
GET/nba-teams/<id>
Retrieve a single NBA team by its id.
Random NBA team
GET/nba-teams/random
Retrieve a random NBA team.