Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added general roster functionality #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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