Ross ROSS = Recommend OSS · open-source software intelligence for agents

swar/nba_api

An API Client package to access the APIs for NBA.com observed · 2026-08-28

github.com/swar/nba_api · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

85/100

  • Activity 98
  • Release rhythm 59
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 31.5
  • age_days: 2907
  • days_rel: 194
  • days_push: 17
  • n_releases_24m: 13

Full methodology

Adoption not part of the score

3753 stars · 721 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A Python API client package for accessing NBA.com's official stats and live game APIs. It wraps NBA.com endpoints with easy methods returning JSON, dictionaries, or pandas DataFrames, plus static player/team datasets.

Use cases

  • fetch NBA player career stats in Python
  • get live NBA scoreboard and game data
  • analyze basketball play-by-play data in pandas
  • pull team and player stats for sports analytics projects
  • build a basketball stats dashboard or model
  • reduce HTTP calls with static player and team datasets

When to choose

  • you need NBA.com stats or live game data in Python
  • you want pandas DataFrame output for analysis
  • you want documented access to NBA stats endpoints

When to avoid

  • you need data from other sports leagues
  • you need a non-Python language client
  • you need guaranteed uptime since NBA.com APIs are unofficial and can change

Facets

library · maturity active

http-client api-framework data-science apis sports data-science analytics python cross-platform nba basketball sports-stats api-client stats-api

2 sources

Member repositories

RepositoryRoleHealth v2
swar/nba_apimain85

For agents

markdown · JSON · MCP: product_card(name="swar/nba_api")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem