espnff
espnff copied to clipboard
Added general roster functionality
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