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

Competitions for Draft Group Status #106

Open
jaebradley opened this issue Apr 8, 2021 · 0 comments
Open

Competitions for Draft Group Status #106

jaebradley opened this issue Apr 8, 2021 · 0 comments

Comments

@jaebradley
Copy link
Owner

https://api.draftkings.com/sports/v1/competitions?draftGroupId=47813&format=json

{
  "competitions": [
    {
      "competitionId": 5732190,
      "sport": "NBA",
      "homeTeam": {
        "teamId": 1,
        "teamName": "Hawks",
        "teamAbbreviation": "ATL",
        "teamCity": "Atlanta",
        "primaryColor": "#e13a3e",
        "secondaryColor": "#c4d600",
        "tertiaryColor": "#061922"
      },
      "awayTeam": {
        "teamId": 29,
        "teamName": "Grizzlies",
        "teamAbbreviation": "MEM",
        "teamCity": "Memphis",
        "primaryColor": "#0f586c",
        "secondaryColor": "#7399c6",
        "tertiaryColor": "#bed4e9"
      },
      "startTime": "2021-04-08T00:00:00.0000000Z",
      "competitionState": "ScoresOfficial",
      "competitionStateDetail": "",
      "timeRemainingStatus": "Final",
      "sportSpecificData": {
        "timeRemaining": "Final",
        "homeTeamScore": "113",
        "awayTeamScore": "131",
        "period": "0"
      },
      "gameAttributes": [
        {
          "typeId": 9,
          "value": "Final"
        },
        {
          "typeId": 27,
          "value": "False"
        },
        {
          "typeId": 33,
          "value": "BSSE"
        }
      ]
    },
    {
      "competitionId": 5732316,
      "sport": "NBA",
      "homeTeam": {
        "teamId": 2,
        "teamName": "Celtics",
        "teamAbbreviation": "BOS",
        "teamCity": "Boston",
        "primaryColor": "#008348",
        "secondaryColor": "#bb9753",
        "tertiaryColor": "#061922"
      },
      "awayTeam": {
        "teamId": 18,
        "teamName": "Knicks",
        "teamAbbreviation": "NY",
        "teamCity": "New York",
        "primaryColor": "#f58426",
        "secondaryColor": "#006bb6",
        "tertiaryColor": "#bec0c2"
      },
      "startTime": "2021-04-07T23:30:00.0000000Z",
      "competitionState": "ScoresOfficial",
      "competitionStateDetail": "",
      "timeRemainingStatus": "Final",
      "sportSpecificData": {
        "timeRemaining": "Final",
        "homeTeamScore": "101",
        "awayTeamScore": "99",
        "period": "0"
      },
      "gameAttributes": [
        {
          "typeId": 9,
          "value": "Final"
        },
        {
          "typeId": 27,
          "value": "False"
        },
        {
          "typeId": 33,
          "value": "NBSB"
        },
        {
          "typeId": 34,
          "value": "MSG"
        }
      ]
    },
    {
      "competitionId": 5732430,
      "sport": "NBA",
      "homeTeam": {
        "teamId": 17,
        "teamName": "Nets",
        "teamAbbreviation": "BKN",
        "teamCity": "Brooklyn",
        "primaryColor": "#061922",
        "secondaryColor": "#ffffff",
        "tertiaryColor": "#061922"
      },
      "awayTeam": {
        "teamId": 3,
        "teamName": "Pelicans",
        "teamAbbreviation": "NO",
        "teamCity": "New Orleans",
        "primaryColor": "#002b5c",
        "secondaryColor": "#e31837",
        "tertiaryColor": "#b4975a"
      },
      "startTime": "2021-04-07T23:30:00.0000000Z",
      "competitionState": "ScoresOfficial",
      "competitionStateDetail": "",
      "timeRemainingStatus": "Final",
      "sportSpecificData": {
        "timeRemaining": "Final",
        "homeTeamScore": "139",
        "awayTeamScore": "111",
        "period": "0"
      },
      "gameAttributes": [
        {
          "typeId": 9,
          "value": "Final"
        },
        {
          "typeId": 27,
          "value": "False"
        },
        {
          "typeId": 32,
          "value": "ESPN"
        },
        {
          "typeId": 33,
          "value": "YES2"
        },
        {
          "typeId": 34,
          "value": "BSNO"
        }
      ]
    },
    {
      "competitionId": 5733336,
      "sport": "NBA",
      "homeTeam": {
        "teamId": 10,
        "teamName": "Rockets",
        "teamAbbreviation": "HOU",
        "teamCity": "Houston",
        "primaryColor": "#ce1141",
        "secondaryColor": "#c4ced3",
        "tertiaryColor": "#ffffff"
      },
      "awayTeam": {
        "teamId": 6,
        "teamName": "Mavericks",
        "teamAbbreviation": "DAL",
        "teamCity": "Dallas",
        "primaryColor": "#007dc5",
        "secondaryColor": "#c4ced3",
        "tertiaryColor": "#061922"
      },
      "startTime": "2021-04-08T00:00:00.0000000Z",
      "competitionState": "ScoresOfficial",
      "competitionStateDetail": "",
      "timeRemainingStatus": "Final",
      "sportSpecificData": {
        "timeRemaining": "Final",
        "homeTeamScore": "102",
        "awayTeamScore": "93",
        "period": "0"
      },
      "gameAttributes": [
        {
          "typeId": 9,
          "value": "Final"
        },
        {
          "typeId": 27,
          "value": "False"
        },
        {
          "typeId": 33,
          "value": "ATSW"
        }
      ]
    },
    {
      "competitionId": 5733516,
      "sport": "NBA",
      "homeTeam": {
        "teamId": 11,
        "teamName": "Pacers",
        "teamAbbreviation": "IND",
        "teamCity": "Indiana",
        "primaryColor": "#ffc633",
        "secondaryColor": "#00275d",
        "tertiaryColor": "#bec0c2"
      },
      "awayTeam": {
        "teamId": 16,
        "teamName": "Timberwolves",
        "teamAbbreviation": "MIN",
        "teamCity": "Minnesota",
        "primaryColor": "#00a94f",
        "secondaryColor": "#005083",
        "tertiaryColor": "#c4ced3"
      },
      "startTime": "2021-04-07T23:00:00.0000000Z",
      "competitionState": "ScoresOfficial",
      "competitionStateDetail": "",
      "timeRemainingStatus": "Final",
      "sportSpecificData": {
        "timeRemaining": "Final",
        "homeTeamScore": "141",
        "awayTeamScore": "137",
        "period": "0"
      },
      "gameAttributes": [
        {
          "typeId": 9,
          "value": "Final"
        },
        {
          "typeId": 27,
          "value": "False"
        },
        {
          "typeId": 33,
          "value": "BSIN"
        },
        {
          "typeId": 34,
          "value": "BSN"
        }
      ]
    },
    {
      "competitionId": 5733588,
      "sport": "NBA",
      "homeTeam": {
        "teamId": 19,
        "teamName": "Magic",
        "teamAbbreviation": "ORL",
        "teamCity": "Orlando",
        "primaryColor": "#007dc5",
        "secondaryColor": "#c4ced3",
        "tertiaryColor": "#061922"
      },
      "awayTeam": {
        "teamId": 27,
        "teamName": "Wizards",
        "teamAbbreviation": "WAS",
        "teamCity": "Washington",
        "primaryColor": "#002b5c",
        "secondaryColor": "#e31837",
        "tertiaryColor": "#c4ced3"
      },
      "startTime": "2021-04-07T23:00:00.0000000Z",
      "competitionState": "ScoresOfficial",
      "competitionStateDetail": "",
      "timeRemainingStatus": "Final",
      "sportSpecificData": {
        "timeRemaining": "Final",
        "homeTeamScore": "116",
        "awayTeamScore": "131",
        "period": "0"
      },
      "gameAttributes": [
        {
          "typeId": 9,
          "value": "Final"
        },
        {
          "typeId": 27,
          "value": "False"
        },
        {
          "typeId": 33,
          "value": "BSFL"
        },
        {
          "typeId": 34,
          "value": "NSWA"
        }
      ]
    },
    {
      "competitionId": 5734608,
      "sport": "NBA",
      "homeTeam": {
        "teamId": 21,
        "teamName": "Suns",
        "teamAbbreviation": "PHO",
        "teamCity": "Phoenix",
        "primaryColor": "#e56020",
        "secondaryColor": "#1d1160",
        "tertiaryColor": "#061922"
      },
      "awayTeam": {
        "teamId": 26,
        "teamName": "Jazz",
        "teamAbbreviation": "UTA",
        "teamCity": "Utah",
        "primaryColor": "#002b5c",
        "secondaryColor": "#00471b",
        "tertiaryColor": "#f9a01b"
      },
      "startTime": "2021-04-08T02:00:00.0000000Z",
      "competitionState": "ScoresOfficial",
      "competitionStateDetail": "",
      "timeRemainingStatus": "Final",
      "sportSpecificData": {
        "timeRemaining": "Final",
        "homeTeamScore": "117",
        "awayTeamScore": "113",
        "period": "0"
      },
      "gameAttributes": [
        {
          "typeId": 9,
          "value": "Final"
        },
        {
          "typeId": 27,
          "value": "False"
        },
        {
          "typeId": 32,
          "value": "ESPN"
        },
        {
          "typeId": 33,
          "value": "BSAZ"
        },
        {
          "typeId": 34,
          "value": "ATRM"
        }
      ]
    },
    {
      "competitionId": 5735034,
      "sport": "NBA",
      "homeTeam": {
        "teamId": 25,
        "teamName": "Thunder",
        "teamAbbreviation": "OKC",
        "teamCity": "Oklahoma City",
        "primaryColor": "#007dc3",
        "secondaryColor": "#f05133",
        "tertiaryColor": "#002d62"
      },
      "awayTeam": {
        "teamId": 5312,
        "teamName": "Hornets",
        "teamAbbreviation": "CHA",
        "teamCity": "Charlotte",
        "primaryColor": "#1d1160",
        "secondaryColor": "#008ca8",
        "tertiaryColor": "#a1a1a4"
      },
      "startTime": "2021-04-08T00:00:00.0000000Z",
      "competitionState": "ScoresOfficial",
      "competitionStateDetail": "",
      "timeRemainingStatus": "Final",
      "sportSpecificData": {
        "timeRemaining": "Final",
        "homeTeamScore": "102",
        "awayTeamScore": "113",
        "period": "0"
      },
      "gameAttributes": [
        {
          "typeId": 9,
          "value": "Final"
        },
        {
          "typeId": 27,
          "value": "False"
        },
        {
          "typeId": 33,
          "value": "BSOK"
        }
      ]
    },
    {
      "competitionId": 5735112,
      "sport": "NBA",
      "homeTeam": {
        "teamId": 7,
        "teamName": "Nuggets",
        "teamAbbreviation": "DEN",
        "teamCity": "Denver",
        "primaryColor": "#4d90cd",
        "secondaryColor": "#fdb927",
        "tertiaryColor": "#0f586c"
      },
      "awayTeam": {
        "teamId": 24,
        "teamName": "Spurs",
        "teamAbbreviation": "SA",
        "teamCity": "San Antonio",
        "primaryColor": "#061922",
        "secondaryColor": "#bac3c9",
        "tertiaryColor": "#ffffff"
      },
      "startTime": "2021-04-08T01:00:00.0000000Z",
      "competitionState": "ScoresOfficial",
      "competitionStateDetail": "",
      "timeRemainingStatus": "Final",
      "sportSpecificData": {
        "timeRemaining": "Final",
        "homeTeamScore": "106",
        "awayTeamScore": "96",
        "period": "0"
      },
      "gameAttributes": [
        {
          "typeId": 9,
          "value": "Final"
        },
        {
          "typeId": 27,
          "value": "False"
        },
        {
          "typeId": 33,
          "value": "AL2"
        },
        {
          "typeId": 34,
          "value": "BSSW"
        }
      ]
    }
  ],
  "responseStatus": {},
  "errorStatus": {}
}
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