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 returned an HTTP 403 #539

Closed
jtkulis opened this issue Apr 23, 2024 · 14 comments · Fixed by #540
Closed

ESPN returned an HTTP 403 #539

jtkulis opened this issue Apr 23, 2024 · 14 comments · Fixed by #540

Comments

@jtkulis
Copy link

jtkulis commented Apr 23, 2024

I have been working with the API for the past few weeks with no issues. However, when restarting my kernel and clearing my output I was given a 403 error. Is there any way or fix around this? I double-checked that there was no change in the swid or s2 for my specific league.

@mdekarske
Copy link

Same 403, it worked last week. Version 0.35.0

@lbenz730
Copy link

I don't use this package but I scrape ESPN API. I found that after today, switching my url from https://fantasy.espn.com/apis/v3/games/ to https://lm-api-reads.fantasy.espn.com/apis/v3/games/ worked.

https://github.com/cwendt94/espn-api/blob/master/espn_api/requests/constant.py#L1

@rytizzle
Copy link

also seeing "403". everything was working just a few days ago.

@kpholloway
Copy link

I don't use this package but I scrape ESPN API. I found that after today, switching my url from https://fantasy.espn.com/apis/v3/games/ to https://lm-api-reads.fantasy.espn.com/apis/v3/games/ worked.

https://github.com/cwendt94/espn-api/blob/master/espn_api/requests/constant.py#L1

This resolved my issue as well. I thought I was going crazy.

@lbenz730
Copy link

I don't use the package. You'd have to change the line in that file constant.py file.

@rytizzle
Copy link

I don't use the package. You'd have to change the line in that file constant.py file.

which sport are u using the API for? i also downloaded the package and updated the constant.py file and it still doesn't work for me :(

@lbenz730
Copy link

lbenz730 commented Apr 25, 2024 via email

@rytizzle
Copy link

@lbenz730 do you know how to get a list of the players on your waitlist via the API?

@atagunduzalp
Copy link

atagunduzalp commented Apr 25, 2024

Having the same issue here, is it because the fantasy league is over?

@rytizzle
Copy link

rytizzle commented Apr 25, 2024 via email

@lbenz730
Copy link

@lbenz730 do you know how to get a list of the players on your waitlist via the API?

I don't sorry. You'd want to find endpoint tag for waitlist. Probably burried somewhere w/in the functions of the package.

@atagunduzalp
Copy link

atagunduzalp commented Apr 25, 2024

Nope. Ongoing league.

oh I see, mine was fantasy basketball and it has finished, thought it is because of that but it looks like more general problem is going on over...

@cwendt94
Copy link
Owner

Looking into this now! @lbenz730 Thanks for the fix!

@cwendt94
Copy link
Owner

Fixed in v0.36.0

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.

7 participants