Skip to contents

Get ESPN MBB Team News

Get ESPN Women's College Basketball Team News

Get ESPN NBA Team News

Get ESPN NBA Team News

Usage

espn_mbb_team_news(team_id, limit = 25)

espn_nba_team_news(team_id, limit = 25)

Arguments

team_id

character or integer. ESPN team ID (e.g. 2509 for UConn).

limit

integer. Maximum number of articles to return. Default 25.

Value

A hoopR_data tibble with one row per news article.

col_nametypesdescription
idcharacterId.
typecharacterRecord type / category.
headlinecharacterNews headline.
descriptioncharacterLong-form description text.
publishedcharacterPublication timestamp (ISO 8601).
premiumlogical
bylinecharacterNews article byline / author.
link_webcharacterWeb link / URL.
league_idcharacterLeague identifier ('10' = WNBA).

A hoopR_data tibble with one row per news article.

col_nametypesdescription
idcharacterId.
typecharacterRecord type / category.
headlinecharacterNews headline.
descriptioncharacterLong-form description text.
publishedcharacterPublication timestamp (ISO 8601).
premiumlogical
bylinecharacterNews article byline / author.
link_webcharacterWeb link / URL.
league_idcharacterLeague identifier ('10' = WNBA).

Details

Retrieve ESPN women's college basketball news for a specific team. Uses getOption("hoopR.proxy") or http_proxy/https_proxy environment variables for proxy configuration (per-call proxy override is not supported for ESPN wrappers).

Retrieve ESPN NBA news for a specific team. Uses getOption("hoopR.proxy") or http_proxy/https_proxy environment variables for proxy configuration (per-call proxy override is not supported for ESPN wrappers).

See also

family_espn_mbb lists every function in this family.

family_espn_nba lists every function in this family.

Author

Saiem Gilani

Examples

# \donttest{
  espn_mbb_team_news(team_id = "150", limit = 5)
#> ── ESPN MENS-COLLEGE-BASKETBALL Team News (team_id=150) from ESPN.com ──────────
#> ℹ Data updated: 2026-11-13 21:12:42 UTC
#> # A tibble: 5 × 9
#>        id type  headline description published premium byline link_web league_id
#>     <int> <chr> <chr>    <chr>       <chr>     <lgl>   <chr>  <chr>    <chr>    
#> 1  5.05e7 Story Men's c… After two … 2026-11-… FALSE   Jeff … https:/… 41       
#> 2  5.05e7 Prev… SIU-Edw… SIU-Edward… 2026-11-… FALSE   NA     http://… 41       
#> 3  5.05e7 Media Kicks F… Kicks For … 2026-11-… FALSE   NA     https:/… 23       
#> 4  5.04e7 Story Men's b… From poten… 2026-11-… FALSE   Jeff … https:/… 41       
#> 5  5.02e7 Story Early t… Entering t… 2026-11-… FALSE   Paul … https:/… 41       
# }
# \donttest{
  espn_nba_team_news(team_id = "13", limit = 5)
#> ── ESPN NBA Team News (team_id=13) from ESPN.com ──────────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-11-13 21:12:42 UTC
#> # A tibble: 5 × 9
#>        id type  headline description published premium byline link_web league_id
#>     <int> <chr> <chr>    <chr>       <chr>     <lgl>   <chr>  <chr>    <chr>    
#> 1  5.04e7 Story NBA tra… With the N… 2026-11-… FALSE   NBA i… https:/… 46       
#> 2  5.05e7 Story How Kob… The Comman… 2026-11-… FALSE   John … https:/… 28       
#> 3  4.16e7 Story Which N… In 2024, B… 2026-11-… FALSE   Keith… https:/… NA       
#> 4  5.05e7 Head… Austin … Lakers gua… 2026-11-… FALSE   Dave … https:/… 46       
#> 5  5.05e7 Media Los Ang… Los Angele… 2026-11-… FALSE   NA     https:/… 46       
# }