0

nba game_key

is the new game_key for nba 2011-2012 season out? it's not in the documentation...

by
5 Replies
  • Can any one give any idea regarding to get game_key as well as league.I am little confused
    0
  • Any info on updated game_key would be great for all sports now.

    Thanks
    0
  • http://fantasysports.yahooapis.com/fantasy/v2/game/nba
    0
  • Correct. The current game key is always available by providing the correct game code instead (ie, "nba", "nhl"). If you wanted to use the YQL console, you'd query:

    select * from fantasysports.games where game_key="nba";

    http://developer.yahoo.com/yql/console/#h=select%20*%20from%20fantasysports.games%20where%20game_key%3D%22nba%22%3B

    For reference, nba is 304 and nhl is 303.
    0
  • Just to clarify, 304 is 2012/13 NBA season. Using the YQL console, I figured out that 2011/12 is 265.

    P.S. Sean it would be great to keep that table up to date in the documentation (as Felix mentions) for those of us loading historical stats in preparation for the upcoming season
    0

Recent Posts

in Fantasy Sports API