-
Notifications
You must be signed in to change notification settings - Fork 49
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
[Bug] ESPN MADE CHANGES TO THEIR API #212
Comments
@uberfastman this is at least partially addressed by PR 210 |
@uberfastman running into this same issue. pulled PR 210 and still seeing espn_api.requests.espn_requests.ESPNUnknownError: ESPN returned an HTTP 403 not sure what epsn has changed on their side. open to any fixes anyone has for this. |
I added a PR which also bumps the dependency espn-api to 0.36.0, which is the first version that uses the new endpoint. See #213 With these two changes I was successfully able to generate a report. |
@aaronsewall i get an error after i run the report creation , running this install doesnt do anything for me. and confirmed that requirements.txt has the new espn-api version. not sure why its complaining about "espn" root - ERROR - MISSING DEPENDENCY: espn. Please run |
was able to work around that error by going into the container and running pip install -r requirements.txt . not sure why its still downloading the old api 5.0.3->-r requirements.txt (line 23)) (0.1.2) |
We need the compose.yml file updated to point to a new container image. ghcr.io/uberfastman/fantasy-football-metrics-weekly-report shows the latest image being created 10 months ago. |
yup seems like its merged into main branch now. but compose.yml still points to old container, so you have to run pip install -r requirements on the container after its started up. |
I'm still getting Edit: Ran the update in the docker terminal directly and it fixed it |
@99Probl3ms are you running pip from inside of the docker container?
Edit: your edit showed up as I was typing my reply. For others that run into it, you need to run the command from inside of the docker container. |
From that bash line run |
that didn't work i had to run |
@shulman33 @nph4 @sameer095k @aaronsewall @brandoncruz3 @99Probl3ms @iv1660yg thank you all for your patience, my apologies for not getting things updated in a timely fashion for this year's NFL season, I normally try to get working on updates in August but this year I just didn't have time. However I've just published #215 (Release v18.0.0), which includes all the necessary version fixes to the ESPN dependencies and the API base URL change. I also deployed a new docker image with this new code, so you shouldn't have to manually install the updated I'm closing this bug since it should all be sorted now, but please feel free to reopen and/or ask me any questions if you run into additional issues. |
Description of Issue
It seems that ESPN made major changes to their API and now the report for ESPN does not work anymore. See this reddit post
Fantasy Football Platform
ESPN
The text was updated successfully, but these errors were encountered: