I wish I would have come here first. I just did the same and ended up locking myself out of the YQL Console, presumably for spamming gamecodes.
Slightly better option (also now described here:
http://developer.yahoo.com/fantasysports/g...e-resource.html ) -- make a query like:
CODE
http://fantasysports.yahooapis.com/fantasy/v2/game/nfl
Or in YQL,
CODE
select * from fantasysports.games where game_key="nfl"
If you ask for the game code instead of the game ID, we'll default to the current season and give you the game ID in the response back.