Fantasy Football Draft Assistant
- 7 Devlogs
- 10 Total hours
A helpful model that can help draft the best fit players in your fantasy football league
A helpful model that can help draft the best fit players in your fantasy football league
Sleeper API integration is finally here! This took a while to get out, but I’m so happy that it’s finally here! The main limitation is that it’s based on draft ID, so it might be a hassle to find. However, I can’t control that as Sleeper is read-only API, which means I can’t allow for people to sign in and then access leagues and mock drafts that way. Regardless, it works really great based on my tests with the caveat that if you update the draft settings, you may need to refresh once or twice to ensure they’re updated on ffdrafter. Once you’re in the draft, the main thing you do is simply check back in and view suggestions on the side panel, manually logging picks is disabled since you’re doing that on Sleeper anyway! Another unfortunate caveat is that syncs do take a little bit(5-7 seconds) when others are auto-drafting and when the draft first starts. These are unfortunate side effects, but again they aren’t in my control as I don’t know how often Sleeper updates and sends drafts responses back. Yet, the feature still works even if it does take a small amount of time, so hope it works for anyone who uses it. Attaches is the UI for how the user inputs the Sleeper Draft ID.
A few more style updates have occurred since my last log. First, the font has changes to be a little more fancy, if that’s what you want to call it, but I think it looks nice for the site itself. Along with that depending on if you’re searching, seeing suggestions, or viewing top talent, different info appears when you click on the player. The commonality is showing the team logo and their tier. But when searching it only shows the top reason, when seeing suggestions it gives age and top 2 reasons, and viewing top talent also shows age along with position(jersey number). Other than that it’s still basically the same since functionality wise, nothing really changed. I hope to start implement the direct Sleeper API integration along with other sites if possible including ESPN and Yahoo Fantasy.
So I was recently about to ship but it got recalled because I used Claude to do the whole UI and never touched up on it again, which is my fault completely. However, since then I have actually updated the entire UI by adding modular sections and more color by position points. It has the same dark tone as before, but there’s a new purple accent now to make it less generic. Along with that, every position is basically customized by it’s own unique color as well, providing a connection beyond text. Other than that, text was made bigger, and font colors were made lighter to make them pop out more against the dark background. Attached is how the starting page looks like now.
This devlog is the last before the first ship as the site is now officially live! The only change made between this log and the last is that you can choose whether you have a snake or linear draft. Other than that, hosting is being done through Render(hopefully an accepted hosting platform) and the link is officially live at: https://fantasy-football-drafter.onrender.com/. Attached is how the menu looks now that you can choose draft type.
So unfortunately, I wasn’t able to connect to Sleeper API, because I was busy updating the value algorithm to make it sure it worked well. Earlier, it was favoring positions too much and wasn’t realizing that starters matter more than bench. I think I’ve found the perfect medium between balancing both maximizing starting talent and a decent bench lineup. I expect to ship within the next few days once I upload a live link and maybe add a feature to differentiate between snake and linear draft along with adding more position customization perhaps. Other than that, this project will probably ship with just a manual mode at first, and then have another ship with Sleeper API connected to it. Attached is a sample of how the UI looks when updating draft picks based on what’s going on in.
Well, the initial part of the project is completed. There is now a value calculation algorithm in place that ranks each player based on a number of metrics: current draft pick, player ranking, bye week, and roster needs. After that, it gives 8 suggested players in the menu, ranked by points, and also gives warnings about possible reaches and the current pick, but also symbols that could signify a steal at the current pick. Additional testing will be conducted in regards to how well the system seems to be working by simulating a separate mock draft with online resources. My next plan after this, if the system is working correctly, is to connect it seamlessly with Sleeper, as stated in Devlog #1. Attached is how the user interface currently looks after starting the draft.
This is the start of a fantasy football draft assistant project I’m working on. Currently, it doesn’t do much as most of the time was spent on gathering data for the three main scoring types: PPR, Half-PPR, and Standard, along with the player database from Sleeper. The plan is to eventually find an algorithm to calculate expected value for each player based on different data points: your draft position, current draft pick, player data in general, along with other external factors such as current roster. Also I’m only working on the manual mode right now where all picks have to be manually put in but since Sleeper has a free API(used for player data), I hope to eventually add a seamless integration where it can directly link to a Sleeper League. Provided below is the starter UI menu but will be changed over time as more features are added.