0

Uploading results

Is it possible to send data using the API?
Meaning, if you have a draft application, you could send the results to the Yahoo Fantasy Sports league rosters.
Essentially making roster changes via the API capabilities?

Thanks for any info.

by
11 Replies
  • QUOTE (Booee @ Jan 3 2011, 02:15 PM) <{POST_SNAPBACK}>
    Is it possible to send data using the API?
    Meaning, if you have a draft application, you could send the results to the Yahoo Fantasy Sports league rosters.
    Essentially making roster changes via the API capabilities?

    Thanks for any info.

    We don't have the ability to upload offline draft results via the API, unfortunately, although that would be pretty cool. The write APIs that we do expose for the full games are the services to let you edit your lineup and to add/drop players (and within a month or so, to conduct trades).
    0
  • Any idea if this is going to be added in the near future (i.e. before the 2011 NFL Season)?
    0
  • QUOTE (Sean Montgomery @ Jan 21 2011, 12:30 AM) <{POST_SNAPBACK}>
    We don't have the ability to upload offline draft results via the API, unfortunately, although that would be pretty cool. The write APIs that we do expose for the full games are the services to let you edit your lineup and to add/drop players (and within a month or so, to conduct trades).


    Do you have a date for when the trade conducting part of the api will be available?
    0
  • QUOTE (Unknown @ Mar 6 2011, 08:35 PM) <{POST_SNAPBACK}>
    Do you have a date for when the trade conducting part of the api will be available?

    The code is mostly done, but we had a few issues with returning the correct response codes/content when you end up deleting a trade via a PUT/POST (like, for instance, if you used the service to register a veto against a trade and it caused a sufficient number of vetoes on the trade such that we would delete it). We should be delayed by at most another couple weeks. And, yeah, it'll definitely be in place by the football season -- in fact, if it's not in by the start of the baseball season, our mobile development team will be very mad at us. :D
    0
  • QUOTE (Sean Montgomery @ Jan 21 2011, 12:30 AM) <{POST_SNAPBACK}>
    The write APIs that we do expose for the full games are the services to let you edit your lineup and to add/drop players (and within a month or so, to conduct trades).


    Are there examples of these anywhere? After reading through the docs I could find I assumed that the API was query-only. It wasn't until I actually registered my app and got my key that I saw there was an option for getting a key for read/write access, but I still couldn't really find examples of it.

    Could you maybe provide a sample query for swapping an active player with one that's on your bench or something like that?

    Thanks!
    0
  • QUOTE (Sean Montgomery @ Mar 8 2011, 08:17 PM) <{POST_SNAPBACK}>
    The code is mostly done, but we had a few issues with returning the correct response codes/content when you end up deleting a trade via a PUT/POST (like, for instance, if you used the service to register a veto against a trade and it caused a sufficient number of vetoes on the trade such that we would delete it). We should be delayed by at most another couple weeks. And, yeah, it'll definitely be in place by the football season -- in fact, if it's not in by the start of the baseball season, our mobile development team will be very mad at us. :DDo you have an ETA on the release of the trade api? Would appreciate a day or two warning before it comes out. Also, would be great if you could list any other changes to the api outside of the new trading api, as well as a list of the trading api calls.
    0
  • @Mark:
    http://developer.yahoo.net/forum/index.php...;hl=edit+lineup would be a good place to start, followed by http://developer.yahoo.net/forum/index.php?showtopic=6238 . I'm pretty terrible at getting documentation put together at the same time as doing the other parts of my job, hence our continued documentationless state. But I think I at least got the basics into those threads.

    @Unknown:
    I'd expect the trade APIs should get out by the middle of the week, two weeks from now, though I can't promise anything. It's a bit late on a Friday evening, but I'll try to circle back to this thread next week to provide a few more details about how they're supposed to work.
    0
  • Since uploading results as a whole isn't planned near term, would the same effect be possible by simply going through each player and adding them to a team individually? That's a lot of operations (hundreds), of course, in theory that may work?
    0
  • "Since uploading results as a whole isn't planned near term, would the same effect be possible by simply going through each player and adding them to a team individually? That's a lot of operations (hundreds), of course, in theory that may work?"

    I too would like to know this. Actually, this is EXACTLY what I want to do...Not actually upload blocks, but send individual players.

    Any idea if this can currently be done, or any plans of this being done prior to the season start?
    0
  • Hey Sean,

    It's been almost 4 months... any update on the trade API?
    0
  • So, still nothing on any services to allow you to effectively conduct an offline draft entirely through the services, sorry.

    But all of the trade stuff is described in pretty good detail now in the documentation, finally. See links from my apology post.
    0

Recent Posts

in Fantasy Sports API