Missing games played category (believe it's a bug)

I've requested the following resource: /team/304.l.{league_id}.t.{team_id}/stats and noticed it correctly only lists categories I participate in, but it is missing a category I am participating in: category 0, games played (GP). This category is critical to my app and it would be awesome if you guys could look into it.

For the NBA, stat category 0 is

 <name>Games Played</name>

But for my league and team, I only get these categories: 3, 4, 5, 6, 7, 8, 10, 12, 15, 16, 17, 18, 19

I play in a rotisserie league and see the GP category listed for my league on Yahoo's website.

Thanks, Bryan

3 Replies
  • Or maybe it's not included because I'm not getting points for games played in my league. Sorry. But, how can I get this information from the API?

  • I found an old post by Sean Montgomery, where he added the ability to append 'extra_stats_ids' to /league/{league_key}/players/stats;extra_stat_ids=0. This works great for player stats. Would it be possible to do it for team stats so that /team/304.l.{league_id}.t.{player_id}/stats;extra_stat_ids=0 works the same? Or maybe add it as an element of team, called games_played?

  • I had this same problem and ended up fetching player stats outside of the league context. this will return all available statistics from yahoo.

    league context: http://fantasysports.yahooapis.com/fantasy/v2/league/303.l.{league_id}/players game context: http://fantasysports.yahooapis.com/fantasy/v2/game/nhl/players

    I like the 'extra_stats_ids' suggestion by Bryan. If the extra GP stat is all you need outside of the categories used by your league then that might be the way to go.


Recent Posts

in Fantasy Sports API