Skip to contents

Get ESPN MBB News

Get ESPN Women's College Basketball News

Get ESPN NBA News

Get ESPN NBA News

Usage

espn_mbb_news(limit = 50)

espn_nba_news(limit = 50)

Arguments

limit

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

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. 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. 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_news(limit = 5)
#> ── ESPN MENS-COLLEGE-BASKETBALL News from ESPN.com ────────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-11-13 21:12:14 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 Head… UTSA mo… "UTSA and … 2026-11-… FALSE   Jeff … https:/… 41       
#> 2  5.05e7 Head… TCU off… "TCU has o… 2026-11-… FALSE   NA     https:/… 41       
#> 3  5.05e7 Prev… Randolp… "Portland … 2026-11-… FALSE   NA     http://… 41       
#> 4  5.05e7 Prev… Lewis l… "Tulane Gr… 2026-11-… FALSE   NA     http://… 41       
#> 5  5.05e7 Prev… Jordan … "UNC Ashev… 2026-11-… FALSE   NA     http://… 41       
# }
# \donttest{
  espn_nba_news(limit = 5)
#> ── ESPN NBA News from ESPN.com ────────────────────────────────── hoopR 3.2.0 ──
#> ℹ Data updated: 2026-11-13 21:12:15 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 Media Shams: … Shams: Dej… 2026-11-… FALSE   NA     https:/… 46       
#> 2  5.05e7 Story Fantasy… Andre expl… 2026-11-… FALSE   Andre… https:/… 3090     
#> 3  5.00e7 Story NBA buz… The NBA is… 2026-11-… FALSE   ESPN … https:/… 46       
#> 4  5.05e7 Head… Sources… Pelicans g… 2026-11-… FALSE   NA     https:/… 46       
#> 5  5.05e7 Head… Ex-lott… Three-poin… 2026-11-… FALSE   Jamal… https:/… 46       
# }