You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For power rankings, I'm not sure if it would be better to use FantasyCalc's league endpoint, or to only integrate with the current values endpoint and sum the player values on the site. The league API powers the FantasyCalc's league analyzer features, so it would be possible to add any of the graphs or tables on that page on a user's site. It's probably more work to switch to that though.
For the trade history integration, I could add a /league/transactions endpoint, as I'm already parsing league trades but don't have a public API for that yet. But it's probably also easier to just use the current player rankings endpoint and sum the values from there.
One thing of note is sleeper doesn't have actual ids for picks, so we'll need to be careful when fetching pick values.
I am interested in hearing your ideas/preferences for the technical implementation of these features.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Beginning discussions around adding a FantasyCalc integration on the power rankings and trade history pages.
Existing relevant FantasyCalc APIs:
GET current player rankings
GET sleeper league
For power rankings, I'm not sure if it would be better to use FantasyCalc's league endpoint, or to only integrate with the current values endpoint and sum the player values on the site. The league API powers the FantasyCalc's league analyzer features, so it would be possible to add any of the graphs or tables on that page on a user's site. It's probably more work to switch to that though.
For the trade history integration, I could add a
/league/transactions
endpoint, as I'm already parsing league trades but don't have a public API for that yet. But it's probably also easier to just use the current player rankings endpoint and sum the values from there.One thing of note is sleeper doesn't have actual ids for picks, so we'll need to be careful when fetching pick values.
I am interested in hearing your ideas/preferences for the technical implementation of these features.
Beta Was this translation helpful? Give feedback.
All reactions