0

Getting player stats for all owned players in a league?

I'm struggling a little bit... Following the Roster resource documentation it seems like the following URL should work:

http://fantasysports.yahooapis.com/fantasy/v2/teams;team_keys=$yahooFantasyTeamIDs/roster/players;out=stats,metadata

Instead however it only returns back the metadata for the players. No stats.

However if I look up a single team:

http://fantasysports.yahooapis.com/fantasy/v2/team/$yahooFantasyTeamID/roster/players/stats

This works perfectly. Only issue is I don't want to make eight to twelve calls to the server - I'd like all of the data in one request. Thoughts?

by
0 Replies

Recent Posts

in Fantasy Sports API