The free and premium ESPN stories on given players. A maximum of 50 stories can be returned at a time.

player_news(playerId, parseHTML = FALSE)

Arguments

playerId

A single player ID number.

parseHTML

Should HTML stories be parsed with xml2::read_html()?

Value

A data frame of news stories.

Examples

player_news(playerId = "15847")
#> # A tibble: 10 × 6
#>       id published           type     premium headline                     body 
#>    <int> <dttm>              <chr>    <lgl>   <chr>                        <chr>
#>  1 15847 2026-09-22 21:01:02 Story    FALSE   Rest-of-season rankings: Wa… "<p>…
#>  2 15847 2026-09-21 05:09:55 Story    FALSE   Week 2 winners and losers: … "<p>…
#>  3 15847 2026-09-21 05:02:47 Rotowire FALSE   Kelce secured nine of 11 ta… "Pat…
#>  4 15847 2026-09-21 03:56:14 Media    FALSE   Mahomes fires to Kelce for … "Mah…
#>  5 15847 2026-09-16 20:59:59 Story    FALSE   Fantasy football matchup ra… "<p>…
#>  6 15847 2026-09-15 04:26:30 Rotowire FALSE   Kelce brought in three of f… "Kel…
#>  7 15847 2026-08-29 03:28:07 Rotowire FALSE   Kelce secured his only targ… "Kel…
#>  8 15847 2026-08-13 02:37:55 Rotowire FALSE   Kelce said Wednesday that h… "'Th…
#>  9 15847 2026-07-30 17:56:55 Rotowire FALSE   Kelce was one of Kansas Cit… "'He…
#> 10 15847 2026-06-05 10:57:16 Story    FALSE   Don't be surprised if ... S… "<p>…