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

Can I use this for the live ESPN Draft? #558

Open
Travis-Barton opened this issue Aug 22, 2024 · 8 comments
Open

Can I use this for the live ESPN Draft? #558

Travis-Barton opened this issue Aug 22, 2024 · 8 comments

Comments

@Travis-Barton
Copy link

Sport

All

Summary

Hey all,

Can i use this during the live ESPN draft? will that reflect as players make changes if I call fetch again?

@cwendt94
Copy link
Owner

Unfortunately you cannot. Currently ESPN uses different APIs for the live draft so the data won't reflect correctly until afterwards.

I tried looking into it last year and was not able to get it working live.

@Travis-Barton
Copy link
Author

Dang, thanks for the quick response!

@FrankieV26
Copy link

You beat me to the punch Travis. This is very cool either way.

@ianfinley89
Copy link

So I know this is kind of last minute, but I got something working for live snake drafts on ESPN and I take your current roster, and the remaining available players and feed it to ChatGPT through an API call: https://github.com/ianfinley89/espn-ffassistant

It's pretty brittle however because I'm using selenium and general XPATHs so if anything changes on ESPNs side, it will break.

@cwendt94
Copy link
Owner

cwendt94 commented Sep 5, 2024

Nice, thats a cool use cases using ChatGPT an selenium!

@ianfinley89
Copy link

Thanks! I used the espn-api to get the initial list of available players as well as the total teams. I'm not sure how to get the league scoring attributes though (i.e PPR, vs STD, vs custom)

@cwendt94
Copy link
Owner

cwendt94 commented Sep 5, 2024

You should be able to get it in the league class settings field that has scoring_type defined!

@Zinkelburger
Copy link

So I know this is kind of last minute, but I got something working for live snake drafts on ESPN and I take your current roster, and the remaining available players and feed it to ChatGPT through an API call: https://github.com/ianfinley89/espn-ffassistant

That's pretty cool. I made a similar thing, but get the players with a browser extension. Those are sent to a local http server. GPT is given the files on the "$draft_pick-20" players, gives you an overview.
https://github.com/Zinkelburger/Fantasy-Football-Tool

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

No branches or pull requests

5 participants