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

Request for default projected score and projected scores for all available NBA players #643

Open
id021960 opened this issue Dec 13, 2024 · 0 comments

Comments

@id021960
Copy link

I can currently retrieve the projected scores for players I own while specifying a game mode using the following GraphQL query:

query Test {
  node(id: "So5Leaderboard:51f18132-09cf-4a5b-8d1a-90ff132019e6") {
    ... on So5Leaderboard {
      slug
      id
      cutOffDate
      gameWeek
      displayName
      myBench {
        nodes {
          ... on ComposeTeamBenchObjectInterface {
            bonus
            player {
              slug
            }
            projectedScore(so5LeaderboardSlug: "nba-14-16-dec-2024-nba_limited_champion")
          }
        }
      }
    }
  }
}

When using this query for the Champion mode, I get the following game mode-specific projected score:

image

However, I would like to retrieve the "default projected score", which can be seen here:

image

The difference between the two scores can vary significantly for some players. For example:

Javonte Green:
Projected Score in Limited Champion mode: 6

image

"Default Projected Score": 24

image

Questions:
How is the game mode-specific projected score calculated, and what factors lead to such discrepancies between it and the "default projected score"?
Is there a way to retrieve the "default projected score", independent of the selected game mode?
Can I retrieve the projected score for every eligible NBA player, not just the ones I own?

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

No branches or pull requests

1 participant