0

Fantasy Basketball and Hockey data now available through the API

In addition to Yahoo! Fantasy Football and Baseball, Basketball and Hockey data is now available through the Yahoo! Fantasy Sports API! The game codes are listed here:

http://developer.yahoo.com/fantasysports/g...e-resource.html

by
6 Replies
  • QUOTE (Shane K @ Jul 1 2010, 06:43 PM) <{POST_SNAPBACK}>
    In addition to Yahoo! Fantasy Football and Baseball, Basketball and Hockey data is now available through the Yahoo! Fantasy Sports API! The game codes are listed here:

    http://developer.yahoo.com/fantasysports/g...e-resource.html


    I suggest this topic is sticky worthy! However, after going to the page, 2010 gameid's for NBA and NHL are not shown yet. :(
    0
  • Do keep in mind that you can always use the game codes ('nba' and 'nhl') as aliases for the current game ID, at least when requesting base level game data (I think there's a bug that's keeping that from working in all cases when you try to filter collections to certain keys)! So if you requested something like:

    CODE
    http://fantasysports.yahooapis.com/fantasy/v2/game/nba


    It would give you data for whatever we think is the current game ID (and tell you that game ID in the response). ...I'm actually not even sure that I want it returning back game data for the current season before the game has launched, but there it is. :P
    0
  • QUOTE (Sean Montgomery @ Jul 14 2010, 09:14 PM) <{POST_SNAPBACK}>
    Do keep in mind that you can always use the game codes ('nba' and 'nhl') as aliases for the current game ID, at least when requesting base level game data (I think there's a bug that's keeping that from working in all cases when you try to filter collections to certain keys)! So if you requested something like:

    CODE
    http://fantasysports.yahooapis.com/fantasy/v2/game/nba


    It would give you data for whatever we think is the current game ID (and tell you that game ID in the response). ...I'm actually not even sure that I want it returning back game data for the current season before the game has launched, but there it is. :PAre there any plans to add nascar or golf to the list of supported sports?
    0
  • QUOTE (joeyjoejoe61 @ Jul 14 2010, 10:41 PM) <{POST_SNAPBACK}>
    Are there any plans to add nascar or golf to the list of supported sports?

    Not at the moment! I mentioned in another thread, we're mostly going ahead with support for the Draft & Trade games for right now. Typically we add new features in conjunction with game launch, so I wouldn't expect that we'd really be talking much about Golf or Nascar until next season starts for those games. Just my best guess -- we theoretically could work on it earlier if it becomes enough of a priority but I would assume next season at earliest.
    0
  • Still interested in a fantasy golf api. Are there any plans to add it?
    0
  • QUOTE (Jeff @ Apr 30 2011, 03:38 PM) <{POST_SNAPBACK}>
    Still interested in a fantasy golf api. Are there any plans to add it?

    Unfortunately, still no news on that front. In theory, if I can manage to get the basic global pick'em services I've been working on out at any point, you'd be able to see very basic information about which teams a user owns, which groups they belong to, and roughly how those teams are doing (ie, rank and points), but not much more than that. I don't think we have any current plans to do anything more than that yet.
    0

Recent Posts

in Fantasy Sports API