0

Baseball Acquisition Prices per Player per Team

Hello,

I'm trying to think ahead for my baseball keeper league this year. I asked the help desk if Yahoo leagues tracked acquisition prices (whether by auction draft or FAAB) and they said that the auction results are kept, but transactions would have to monitored manually. I've created a spreadsheet to do that, but what I now want to do is query for how much every player on every team was acquired for (so that to keep them, we can add 10% each year to that price.)

We haven't had our draft yet, so in my queries, all of the ownership_type is "freeagent". What I want to know is, is the acq. price throughout the season kept in anything in the API? Even if I just had a full chart of possible variables, that would probably be enough for me to figure out the rest.

Thanks in advance,
JSL

by
4 Replies
  • QUOTE (JSL @ Feb 15 2011, 07:51 AM) <{POST_SNAPBACK}>
    Hello,

    I'm trying to think ahead for my baseball keeper league this year. I asked the help desk if Yahoo leagues tracked acquisition prices (whether by auction draft or FAAB) and they said that the auction results are kept, but transactions would have to monitored manually. I've created a spreadsheet to do that, but what I now want to do is query for how much every player on every team was acquired for (so that to keep them, we can add 10% each year to that price.)

    We haven't had our draft yet, so in my queries, all of the ownership_type is "freeagent". What I want to know is, is the acq. price throughout the season kept in anything in the API? Even if I just had a full chart of possible variables, that would probably be enough for me to figure out the rest.

    Thanks in advance,
    JSL

    Hrrrrrrmmmm. I'm not *exactly* sure if this would solve your problem, but would it be sufficient for you to be able to pull the list of waiver transactions for your league and read the FAAB budget associated with each from there? Along the lines of:

    CODE
    http://fantasysports.yahooapis.com/fantasy/v2/league/<league_key>/transactions;type=add


    Which, in a league using FAAB, would give you something like:

    CODE
    <fantasy_content xmlns="http://fantasysports.yahooapis.com/fantasy/v2/base.rng" xml:lang="en-US" yahoo:uri="http://api.fantasysports.yahoo.com:4080/fantasy/v2/league/238.l.600123/transactions;type=add" xmlns:yahoo="http://www.yahooapis.com/v1/base.rng" time="1115.2741909027ms" copyright="Data provided by Yahoo! and STATS, LLC">
    <league>
    <league_key>238.l.600123</league_key>
    ...
    <transactions count="432">
    ...
    <transaction>
    <transaction_key>238.l.600123.tr.443</transaction_key>

    <transaction_id>443</transaction_id>
    <type>add/drop</type>
    <status>successful</status>
    <timestamp>1285062795</timestamp>
    <faab_bid>16</faab_bid>
    <players count="2">

    <player>
    <player_key>238.p.8529</player_key>
    <player_id>8529</player_id>
    <name>
    <full>Mat Latos</full>
    <first>Mat</first>
    <last>Latos</last>

    <ascii_first>Mat</ascii_first>
    <ascii_last>Latos</ascii_last>
    </name>
    <transaction_data>
    <type>add</type>
    <source_type>waivers</source_type>
    <destination_type>team</destination_type>

    <destination_team_key>238.l.600123.t.8</destination_team_key>
    </transaction_data>
    </player>
    <player>
    <player_key>238.p.8583</player_key>
    <player_id>8583</player_id>
    <name>

    <full>John Axford</full>
    <first>John</first>
    <last>Axford</last>
    <ascii_first>John</ascii_first>
    <ascii_last>Axford</ascii_last>
    </name>

    <transaction_data>
    <type>drop</type>
    <source_type>team</source_type>
    <source_team_key>238.l.600123.t.8</source_team_key>
    <destination_type>waivers</destination_type>
    </transaction_data>
    </player>

    </players>
    </transaction>
    ...
    </transactions>
    </league>
    </fantasy_content>


    You'd need to look through all the add transactions for the ones with a source of waivers, but you could then see the FAAB bid associated with that transaction in the <faab_bid> element. Would that be sufficient?

    (and, yeah, the draftresults service should provide starting auction values, too)
    0
  • Sean,

    That certainly looks like a place I can start. I suppose I'll have to 1) cross reference it with current rosters and 2) make sure that I'm getting the latest FAAB value for each player, as I'm also assuming that multiple add/drops will probably be recorded.

    Thanks for the info, I appreciate it!

    JSL
    0
  • I have a similar question, but am completely ignorant when it comes to API. Can someone please explain what I'd have to type into the YQL console to find out the transactions from my team last year? Thanks!!!!
    0
  • 0

Recent Posts

in Fantasy Sports API