Skip to content

Instantly share code, notes, and snippets.

Avatar

Verizon Media VerizonMediaOwner

View GitHub Profile
View transaction_resource_example.xml
<?xml version="1.0" encoding="UTF-8"?>
<fantasy_content xmlns:yahoo="http://www.yahooapis.com/v1/base.rng" xmlns="http://fantasysports.yahooapis.com/fantasy/v2/base.rng" xml:lang="en-US" yahoo:uri="http://fantasysports.yahooapis.com/fantasy/v2/transaction/257.l.193.tr.2" time="51.784038543701ms" copyright="Data provided by Yahoo! and STATS, LLC">
<transaction>
<transaction_key>257.l.193.tr.2</transaction_key>
<transaction_id>2</transaction_id>
<type>add/drop</type>
<status>successful</status>
<timestamp>1310694660</timestamp>
<players count="2">
<player>
View transaction_waiver.xml
<?xml version="1.0" encoding="UTF-8"?>
<fantasy_content xmlns:yahoo="http://www.yahooapis.com/v1/base.rng" xmlns="http://fantasysports.yahooapis.com/fantasy/v2/base.rng" xml:lang="en-US" yahoo:uri="http://fantasysports.yahooapis.com/fantasy/v2/transaction/257.l.193.w.c.2_6390" time="30.953884124756ms" copyright="Data provided by Yahoo! and STATS, LLC">
<transaction>
<transaction_key>257.l.193.w.c.2_6390</transaction_key>
<type>waiver</type>
<status>pending</status>
<waiver_player_key>257.p.6390</waiver_player_key>
<waiver_team_key>257.l.193.t.2</waiver_team_key>
<waiver_date>2011-07-17</waiver_date>
<waiver_priority>1</waiver_priority>
View transaction_waiver_claim.xml
<?xml version='1.0'?>
<fantasy_content>
<transaction>
<type>add/drop</type>
<faab_bid>25</faab_bid>
<players>
<player>
<player_key>238.p.5484</player_key>
<transaction_data>
<type>add</type>
View transaction_replace_player.xml
<fantasy_content>
<transaction>
<type>add/drop</type>
<players>
<player>
<player_key>{player_key}</player_key>
<transaction_data>
<type>add</type>
<destination_team_key>{team_key}</destination_team_key>
</transaction_data>
View transaction_propose_trade.xml
<?xml version='1.0'?>
<fantasy_content>
<transaction>
<type>pending_trade</type>
<trader_team_key>248.l.55438.t.11</trader_team_key>
<tradee_team_key>248.l.55438.t.4</tradee_team_key>
<trade_note>Yo yo yo yo yo!!!</trade_note>
<players>
<player>
<player_key>248.p.4130</player_key>
View transaction_drop_player.xml
<fantasy_content>
<transaction>
<type>drop</type>
<player>
<player_key>{player_key}</player_key>
<transaction_data>
<type>drop</type>
<source_team_key>{team_key}</source_team_key>
</transaction_data>
</player>
View transaction_vote_trades.xml
<?xml version='1.0'?>
<fantasy_content>
<transaction>
<transaction_key>248.l.55438.pt.11</transaction_key>
<type>pending_trade</type>
<action>vote_against</action>
<voter_team_key>248.l.55438.t.2</voter_team_key>
</transaction>
</fantasy_content>
View transaction_reject_trades.xml
<?xml version='1.0'?>
<fantasy_content>
<transaction>
<transaction_key>248.l.55438.pt.11</transaction_key>
<type>pending_trade</type>
<action>reject</action>
<trade_note>No way!</trade_note>
</transaction>
</fantasy_content>
View transaction_edit_waivers.xml
<?xml version='1.0'?>
<fantasy_content>
<transaction>
<transaction_key>248.l.55438.w.c.2_6093</transaction_key>
<type>waiver</type>
<waiver_priority>1</waiver_priority>
<faab_bid>20</faab_bid>
</transaction>
</fantasy_content>
View transaction_disallow_trades.xml
<?xml version='1.0'?>
<fantasy_content>
<transaction>
<transaction_key>248.l.55438.pt.11</transaction_key>
<type>pending_trade</type>
<action>disallow</action>
</transaction>
</fantasy_content>
You can’t perform that action at this time.