0

Multiple Teams Details in One Call

Hey there, I'm using the following call to get all the needed details for a user's league, team and players. It's a great call and gives me tons of data:
CODE
http://fantasysports.yahooapis.com/fantasy/v2/games;game_keys=nfl/leagues;league_keys=242.l.121153;out=settings,transactions,messages,scoreboard/teams;team_keys=242.l.121153.t.7;out=standings,stats;stats.type=week;stats.week=
current/roster/players/stats;type=week;week=current


I'd like to run the same call, but for all the teams in the league. As soon as I try to add another team key, I lose all my player stats. Players still show up, but no stats or scores.

Is it possible to get all this data for all teams of a league without running this separately for each team?

Thanks

David B.

by
1 Reply
  • Ah. Unfortunately not. This was one of those weird legal restrictions. No player stats when viewing more than one team at once, so I think you're stuck making multiple calls there.
    0

Recent Posts

in Fantasy Sports API