0

Fantasy Sports API (Injury reports?)

Does yahoo Fantasy Sports offers "Injury reports" API ? Looking for API for Injury Report for all fantasy sports. I appriiate if anyone knows if Yahoo fantasy API offers this and if not, is there any other sites that might offer such of service.

Thanks

by
4 Replies
  • QUOTE (Mario @ Aug 11 2010, 09:22 AM) <{POST_SNAPBACK}>
    Does yahoo Fantasy Sports offers "Injury reports" API ? Looking for API for Injury Report for all fantasy sports. I appriiate if anyone knows if Yahoo fantasy API offers this and if not, is there any other sites that might offer such of service.

    Thanks

    Depends on what you're looking for in terms of "injury reports". If a player has any sort of distinct status associated with him (ie, DL, NA, INJ, P[robable], etc), we'll show it in the <status> field underneath the player resource. But we don't offer any more detail than that.
    0
  • FantasyFootballNerd has a good API for various things. Right now I am just pull News for individual players, but when the season gets closer to starting, there should be Injury Reports as well. You can look in to that...

    Quick question related to this though. According to another post, there is a <status> property for players that will show up if the players is Probable, Questionable, etc... but I cannot seem to find any examples, so I just want to make sure that this is correct. Also, it appears that there is a <has_player_notes> property, but it is simple a boolean. Is there any way to actually get the notes from the API? Or at least get a URL so I can redirect a user to somewhere to read the notes?

    Thanks!
    C
    0
  • QUOTE (Christian @ Aug 22 2010, 02:01 PM) <{POST_SNAPBACK}>
    Quick question related to this though. According to another post, there is a <status> property for players that will show up if the players is Probable, Questionable, etc... but I cannot seem to find any examples, so I just want to make sure that this is correct. Also, it appears that there is a <has_player_notes> property, but it is simple a boolean. Is there any way to actually get the notes from the API? Or at least get a URL so I can redirect a user to somewhere to read the notes?

    Thanks!
    C

    If you check out Jamie Moyer (in baseball) right now, he has a status of DL. Hopefully that'll give you the rough general idea of what shows up there (it'll always be an abbreviation, we generally show it right next to the player position on the main site, etc).

    CODE
    http://fantasysports.yahooapis.com/fantasy/v2/player/238.p.3932


    CODE
    <fantasy_content xml:lang="en-US" yahoo:uri="http://api.fantasysports.yahoo.com:4080/fantasy/v2/player/238.p.3932" time="36.574840545654ms" copyright="Data provided by Yahoo! and STATS, LLC">
    <player>
    <player_key>238.p.3932</player_key>
    <player_id>3932</player_id>
    <name>
    <full>Jamie Moyer</full>
    <first>Jamie</first>
    <last>Moyer</last>
    <ascii_first>Jamie</ascii_first>
    <ascii_last>Moyer</ascii_last>
    </name>
    <status>DL</status>
    <on_disabled_list>1</on_disabled_list>
    <editorial_player_key>mlb.p.3932</editorial_player_key>
    <editorial_team_key>mlb.t.22</editorial_team_key>
    <editorial_team_full_name>Philadelphia Phillies</editorial_team_full_name>
    <editorial_team_abbr>Phi</editorial_team_abbr>
    <uniform_number>50</uniform_number>
    <display_position>SP,RP</display_position>
    <image_url>
    http://l.yimg.com/a/i/us/sp/v/mlb/players_l/20100429/3932.jpg?x=46&y=60&xc=1&yc=1&wc=165&hc=215&q=100&sig=AL8rRLLw8TcF3EPn_uFnqQ--
    </image_url>
    <is_undroppable>0</is_undroppable>
    <eligible_positions>
    <position>P</position>
    <position>RP</position>
    <position>SP</position>
    </eligible_positions>
    </player>
    </fantasy_content>


    Regarding the <has_player_notes> flag, I don't believe we have rights to syndicate out all of the notes themselves as part of the service, but adding in various player links is a good idea. I'll work on getting that into one of our future releases.
    0
  • You're really doing a bang up job here. Thanks for the answers and especially the example. Very helpful!
    0

Recent Posts

in Fantasy Sports API