pydfs-lineup-optimizer icon indicating copy to clipboard operation
pydfs-lineup-optimizer copied to clipboard

Has anyone built a web frontend for this?

Open donlaur opened this issue 4 years ago • 18 comments

Has anyone started or tried to build a fronted or web interface? Something like Flask or Using javascript to edit, feed and display? Any plans to do so?

donlaur avatar Jul 11 '20 18:07 donlaur

Start a repo. I'll contribute.

austinjohnson avatar Jul 12 '20 12:07 austinjohnson

Yes. Any questions around it?

BenikaH avatar Jul 12 '20 18:07 BenikaH

I can contribute on the backend and some of the in-between.

BenikaH avatar Jul 12 '20 19:07 BenikaH

This has been a personal project of mine for quite while and I've only gotten back into the groove of things recently. Here's a quick demo of what's been done so far:

https://optidfs.com

Right now it's only integrated with Draftkings but hopefully with some help, this can eventually cover all DFS this library supports. Also note that the web app only generates lineups and does not include any other features such as lock/remove players, late-swap, min/max exposure. Hoping to add that soon!

Feel free to contribute to the repos listed in my Github!

markjoeljimenez avatar Jul 31 '20 09:07 markjoeljimenez

Yeah all the features are there that you need. Dima did an excellent job and is continuing to do an excellent job. Here is a beta project. Screen Shot 2020-08-01 at 10 34 18 AM Screen Shot 2020-08-01 at 10 34 09 AM Screen Shot 2020-08-01 at 10 34 45 AM Screen Shot 2020-08-01 at 10 35 11 AM Screen Shot 2020-08-01 at 10 35 19 AM Screen Shot 2020-08-01 at 10 35 44 AM

BenikaH avatar Aug 01 '20 14:08 BenikaH

@BenikaH that looks amazing! Do you have a repo that I can poke around in, especially the backend? Also how are users inputting data into the optimizer? Through CSV upload or requesting from an NBA scraper API?

markjoeljimenez avatar Aug 01 '20 16:08 markjoeljimenez

I didn't build the UI. the info comes from a data provider and the CSV is created internally and then lineups are generated based on the info from that CSV.

BenikaH avatar Aug 01 '20 21:08 BenikaH

I say someone start a repo, I'd gladly contribute to it all that I can.

BenikaH avatar Aug 01 '20 21:08 BenikaH

@BenikaH Wow that looks amazing. Is that publicly available?

OzzyDFS avatar Jan 23 '21 02:01 OzzyDFS

This has been a personal project of mine for quite while and I've only gotten back into the groove of things recently. Here's a quick demo of what's been done so far:

https://optidfs.com

Right now it's only integrated with Draftkings but hopefully with some help, this can eventually cover all DFS this library supports. Also note that the web app only generates lineups and does not include any other features such as lock/remove players, late-swap, min/max exposure. Hoping to add that soon!

Feel free to contribute to the repos listed in my Github!

Fantastic work. Beats using the pydfs code in jupyter for sure!

OzzyDFS avatar Jan 23 '21 02:01 OzzyDFS

I built a frontend for it as well with all the normal features one would expect. Locking, exclude, ownership numbers, lineup downloads.

The trick is to use something like Flask as the frontend and use Javascript. Python-Flask endpoints to hit the different sports and select temples, edit projections, hit optimize button and then just send that data back and forth using Ajax. I have several sports and different modes right now. Just have to send data back and forth. Makes 150 lines pretty fast, download the csv when down and upload into the dfs sites.

Dima did an awesome job on Pydfs.

On Fri, Jan 22, 2021 at 9:26 PM OzzyDFS [email protected] wrote:

This has been a personal project of mine for quite while and I've only gotten back into the groove of things recently. Here's a quick demo of what's been done so far:

https://optidfs.com

Right now it's only integrated with Draftkings but hopefully with some help, this can eventually cover all DFS this library supports. Also note that the web app only generates lineups and does not include any other features such as lock/remove players, late-swap, min/max exposure. Hoping to add that soon!

Feel free to contribute to the repos listed in my Github!

Fantastic work. Beats using the pydfs code in jupyter for sure!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/167#issuecomment-765819597, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQKFF7HEGNRVSAVDPSQQMTS3IXXDANCNFSM4OXNQ6NA .

donlaur avatar Jan 23 '21 04:01 donlaur

This site says on firefox its a security risk. Is this a legit web site?

will6809 avatar Jan 30 '21 12:01 will6809

This site says on firefox its a security risk. Is this a legit web site?

Yes, it is fine. Chrome did not give me a warning.

OzzyDFS avatar Jan 30 '21 14:01 OzzyDFS

awesome site @donlaur Glad I came across it. Is there a way to get Fanduel information on there as well?

lightninglarry avatar Mar 19 '21 14:03 lightninglarry

awesome site @donlaur Glad I came across it. Is there a way to get Fanduel information on there as well?

May i ask what site you're referring to? I don't think @donlaur mentioned having his own website unless I am mistaken.

OzzyDFS avatar Mar 20 '21 03:03 OzzyDFS

@OzzyDFS i think i was mistakened. Are you the creator or optidfs.com?

lightninglarry avatar Mar 20 '21 16:03 lightninglarry

I do have a full site and frontend using Flask, I just didn't mention it. I do think he was referring to someone else.

I do have a video demo of it though. https://youtu.be/5Sfp51e-wjo

On Fri, Mar 19, 2021 at 11:26 PM OzzyDFS @.***> wrote:

awesome site @donlaur https://github.com/donlaur Glad I came across it. Is there a way to get Fanduel information on there as well?

May i ask what site you're referring to? I don't think @donlaur https://github.com/donlaur mentioned having his own website unless I am mistaken.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/167#issuecomment-803236336, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQKFFYE6ZQRNLAQPVFOTWTTEQIU3ANCNFSM4OXNQ6NA .

donlaur avatar Mar 22 '21 03:03 donlaur

@OzzyDFS i think i was mistakened. Are you the creator or optidfs.com?

No, that would be @markjoeljimenez . Looks like some new features have been added on!

OzzyDFS avatar Mar 22 '21 05:03 OzzyDFS

@OzzyDFS @lightninglarry yup, I'm the dev for optidfs!

awesome site @donlaur Glad I came across it. Is there a way to get Fanduel information on there as well?

Unfortunately Fanduel's API isn't easily accessible like Draftking's. If you or anyone in this thread can find me a Python scraper like this one for Draftkings, please let me know. I think the only way we can support other providers is through CSV upload for now.

Also, feel free to visit the repo and submit issues/pull requests!

markjoeljimenez avatar Mar 22 '21 23:03 markjoeljimenez

I do have a full site and frontend using Flask, I just didn't mention it. I do think he was referring to someone else. I do have a video demo of it though. https://youtu.be/5Sfp51e-wjo On Fri, Mar 19, 2021 at 11:26 PM OzzyDFS @.***> wrote: awesome site @donlaur https://github.com/donlaur Glad I came across it. Is there a way to get Fanduel information on there as well? May i ask what site you're referring to? I don't think @donlaur https://github.com/donlaur mentioned having his own website unless I am mistaken. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#167 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQKFFYE6ZQRNLAQPVFOTWTTEQIU3ANCNFSM4OXNQ6NA .

thats amazing as well. What is the sites address?

lightninglarry avatar Mar 23 '21 18:03 lightninglarry

Anyone still interested in front end?

BenikaH avatar Jun 04 '23 14:06 BenikaH

Anyone still interested in front end?

for sure @BenikaH

lightninglarry avatar Jun 05 '23 15:06 lightninglarry

I’m interested in taking a look at the front end as well. Thank you!-RossSent from my iPhoneOn Jun 4, 2023, at 7:09 AM, Benika @.***> wrote: Anyone still interested in front end?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

WR3NGO avatar Jun 05 '23 16:06 WR3NGO