Fantasy Baseball Standings - change coverage type?


I am working within the game type 'mlb' and I want to capture all of the standings data from day 1 -> today, not just the current standings. For example, I want to know the standings on day 1, day 2 etc.

When I call the standings API (http://fantasysports.yahooapis.com/fantasy/v2/league/308.l.123456/standings) the return result gives me the "coverage_type" = season. I want to toggle this to get by day, week etc.

The end goal is to capture all of the historical data for a roto league much like what you can do in the scoreboard API for head-to-head leagues. I cannot find a parameter to pass.

The provided example for how to accomplish this by player: Week stats: /fantasy/v2/player/{player_key}/stats;type=week;week={week}

For example: (http://fantasysports.yahooapis.com/fantasy/v2/league/308.l.123456/standings/type=week;week=4)

I would like to understand: 1) will the API return standing data that is more specific than just the season? 2) will the API accept additional parameters on standings (e.g. type=week;week=4) and if so, what is the correct syntax?

Thank you.

0 Replies

Recent Posts

in Fantasy Sports API