-
-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Description
Describe the bug
The ESPN Fantasy API changed from: https://fantasy.espn.com/apis/v3/games/ffl/seasons/
To: https://lm-api-reads.fantasy.espn.com/apis/v3/games/ffl/seasons/
This is causing the espn_connect function to not be able to grab the JSON
Reprex
Please provide a short, reproducible example of the code you are trying to run.
For more on reprexes, check out https://reprex.tidyverse.org
conn <- espn_connect(season = 2025,
league_id = sys.getenv("LEAGUE_ID"),
espn_s2 = sys.getenv("ESPN_S2"),
swid = Sys.getenv("SWID"))
ff_rosters(conn) |> str()
Expected behavior
A clear and concise description of what you expected to happen.
Session information
Please copy the output of ffscrapr::ffverse_sitrep() into the box below.
Error in espn_getendpoint_raw(conn, url_query, xff) :
object 'parsed' not found
In addition: Warning message:
ESPN API did not return json while calling https://fantasy.espn.com/apis/v3/games/ffl/seasons/2024/segments/0/leagues/(ID HERE)?view=mTeam Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
No labels