Skip to content

Conversation

@jsobczak3
Copy link

@jsobczak3 jsobczak3 commented Sep 27, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant