# NBA API

> 4 public methods for NBA (nba.com), each 1 credit per completed run.

Unofficial. Not affiliated with or endorsed by NBA.

- Page: https://fous.com/methods/nba.com

## Methods

### [Get standings](https://fous.com/methods/nba.com/get-standings.md)

`nba.com/get_standings`, read. Returns NBA regular-season standings for a season, with Eastern and Western Conference teams in rank order. Defaults to the season shown on the NBA standings page.

Returns: season, eastern_conference and western_conference teams with rank, record, streak, last 10, home/away records, games behind, clinch status and team page URL

### [Get player by name](https://fous.com/methods/nba.com/get-player.md)

`nba.com/get_player`, read. Looks up an NBA player by name, including retired players, and returns the bio and regular-season per-game averages for the reported season and career.

Returns: name, team, jersey number, position, height, weight, age, draft, college, season and career averages

### [Get scores](https://fous.com/methods/nba.com/get-scores.md)

`nba.com/get_scores`, read. Gets NBA games for a date or up to seven days, using the NBA games calendar in US Eastern time. Each game has its score, status, start time, TV channels and venue.

Returns: date, start time, teams, scores, status, quarter, clock, TV channels, arena, city, game link, game id

### [Get box score](https://fous.com/methods/nba.com/get-box-score.md)

`nba.com/get_box_score`, read. Returns the NBA box score for a game between two teams on a date; without a date, their most recent matchup, including Summer League and games in progress.

Returns: date, arena, status, score, game link, each team's points by period and player stats
