espnff icon indicating copy to clipboard operation
espnff copied to clipboard

Added general roster functionality

Open jsobczak3 opened this issue 7 years ago • 0 comments

Pulls all of the teams rosters in one GET. Creates a Player object for each player on a team, and adds it to the roster list in the Team object.

In the future, its probably better to create a Roster object based off of the roster map that is created in the Settings object by using their associated 'slotCategoryId'.

some params for rosterInfo:

rosterInfo? leagueId=XXXX includeProjectionText=true includeOwnPotentialTradeTransactions=false includeRankings=true includeLatestNews=true scoringPeriodId=X (this is the week) teamIds=X usePreviousSeasonRealStats=false useCurrentSeasonRealStats=true useCurrentSeasonProjectedStats=false useCurrentPeriodRealStats=true useCurrentPeriodProjectedStats=true usePreviousPeriodRealStats=true fromTeamId=X (not sure what this does) processAverages=false rand=83501222794203

jsobczak3 avatar Sep 27 '17 07:09 jsobczak3