0

Waiver Wire Dates

Is it possible to adjust the Waiver Wire Dates via the API? 

I'm trying to change the way waivers work so that during the week all players are on waivers and then on Sundays players are FA till their games start. This feature is not current available, but I think if I can control the Waiver Wire dates via the API I can accomplish this.

thanks

3 Replies
  • No, we don't have an interface for modifying waiver wire dates for individual players through the APIs. That would actually be a pretty tough to do even if we had such an API, because you'd basically be needing to loop through all of the players in the world to initially put them on waivers (with, presumably, a clear date of the upcoming Sunday), based on when they're starting games. It doesn't seem to lend itself well towards individually manipulating waivers for players.

    The closest thing we have built in is Sunday to Tuesday waivers, which is similar except the waivers clear on Wednesday instead of the next Sunday. Not sure if that would be close enough for your league.

    QUOTE(Mr. Bob Harris @ 9 Aug 2011 10:41 AM)
    Is it possible to adjust the Waiver Wire Dates via the API? 

    I'm trying to change the way waivers work so that during the week all players are on waivers and then on Sundays players are FA till their games start. This feature is not current available, but I think if I can control the Waiver Wire dates via the API I can accomplish this.

    thanks
    0
  • Yeah, I was worried about having to put all those players on Waivers and modify them out. Plus, I was thinking that waivers would process daily so in reality the system doesn't do what we intended. I think on another site, if someone was on Waivers each day they would get processed and would not go to a FA till the end of the period. If that makes sense.

    My thought was to write a separate that does all the Adds/Drops with our particular rule set. Then lock out all Add/Drops from the other teams and only turn it on when the Adds/Drops run for the day.  The only thing is that it requires every team to add this one user as a Co-Manager as it seems that the Commish can't Add/Drop from the API. Am I missing something on the Commish editing other teams or is Co-Manager the only way to do it?


    QUOTE(Sean Montgomery @ 12 Aug 2011 7:52 PM)
    No, we don't have an interface for modifying waiver wire dates for individual players through the APIs. That would actually be a pretty tough to do even if we had such an API, because you'd basically be needing to loop through all of the players in the world to initially put them on waivers (with, presumably, a clear date of the upcoming Sunday), based on when they're starting games. It doesn't seem to lend itself well towards individually manipulating waivers for players.

    The closest thing we have built in is Sunday to Tuesday waivers, which is similar except the waivers clear on Wednesday instead of the next Sunday. Not sure if that would be close enough for your league.


    0
  • Really good point about commish add/drops! That probably would be worthwhile to support through the APIs, just not something we thought to add. As it stands right now, though, if you're an application developer and you get people to agree to give your application permission to make changes on their behalf, you can already make any changes you need to as though you're logged in as them, without needing to do anything with comanagers. So, just get everyone to go through the OAuth flow for your application, and then you can hold onto their access tokens and make all the necessary changes required for them. Does that make sense?

    Regarding locking everyone out of adds and drops, that could be a little trickier. It's hard to stop people from just visiting the site and making changes, aside from going through and locking each of them from adds/drops through the site interface, but that would also stop you from being able to make adds/drops through the APIs. I think the only way to really seamlessly support that would be for us to set things up so you could do commish adds/drops through the APIs, since we could say that the commish is never locked out from making those changes.

    But if you're pretty sure that people won't cheat and that you don't have to worry about locking them from doing adds/drops, then you should be able to just have them authorize your application and you'll be able to make the changes for them.

    (the reason why I'm worried about the comanager idea is that you're limited in how many teams one user can manage and how many times they can join the same league, I believe)
    0

Recent Posts

in Fantasy Sports API