Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

espn api endpoints not working #427

Closed
tanho63 opened this issue May 29, 2024 · 5 comments · Fixed by #428
Closed

espn api endpoints not working #427

tanho63 opened this issue May 29, 2024 · 5 comments · Fixed by #428

Comments

@tanho63
Copy link
Member

tanho63 commented May 29, 2024

see ffverse/ffsimulator#70

@jacobakaye
Copy link

Is this still an issue?

@tanho63
Copy link
Member Author

tanho63 commented Aug 6, 2024

I don’t know, are you having problems?

@jacobakaye
Copy link

Yes, this is the issue

> espn_conn <- espn_connect(season = 2023, league_id = 352072624)
> mfl_sim <- ff_simulate(conn = espn_conn, n_seasons = 100)
── Starting simulation 2024-05-20 18:28:21.576716 ─────────────────────────────────────────────────────────────────────────────────
✔ Importing data ... done
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/2023/segments/0/leagues/352072624?view=mSettings

@tanho63
Copy link
Member Author

tanho63 commented Aug 6, 2024

Have you installed the latest development version of ffscrapr? (make sure to restart R first)

@jacobakaye
Copy link

Looks like that fixed it. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants