API | Players

Contains all the functionality to access player details, and retrieves a paged list of players by an event, division, or teams.

Player Details

Retrieves a player's details including additional data related to the player.

Endpoint

GET https://basketball.exposureevents.com/api/v1/players

Parameters

Name Type Default Required Description
id integer The player id.
includes enumeration Additional data to be included in the response. Values should be separated by commas.
{
  "Player": {
    "Id": 101,
    "ParentId": 1,
    "FirstName": "Joe",
    "LastName": "Smith",
    "Profile": {
      "Birthdate": "1/2/1990",
      "BirthYear": 2017,
      "Height": "6-6",
      "Weight": 200,
      "School": "New Albany High School",
      "GraduationYear": 2008,
      "Grade": "6th",
      "Position": "PG",
      "TravelTeam": "Indiana Elite",
      "ACTScore": 36,
      "SATScore": 1600,
      "GPA": 4.0
    },
    "Teams": [
      {
        "Id": 12000,
        "ExternalTeamId": "XDLG234L",
        "Number": 22,
        "Name": "Indiana Elite",
        "DivisionId": 134,
        "DivisionName": "17U",
        "Games": [
          {
            "Id": 10000,
            "Date": "2/2/2015",
            "Time": "12:00 PM",
            "Venue": "Ballard High School",
            "Court": "Court 1",
            "Statistic": {
              "Started": true,
              "Minutes": 40,
              "Points": 20,
              "FieldGoalsMade": 5,
              "FieldGoalsAttempted": 10,
              "FieldGoalsPercent": 50.0,
              "TwoPointersMade": 5,
              "TwoPointersAttempted": 10,
              "TwoPointersPercent": 50.0,
              "ThreePointersMade": 5,
              "ThreePointersAttempted": 10,
              "ThreePointersPercent": 50.0,
              "FreeThrowsMade": 1,
              "FreeThrowsAttempted": 2,
              "FreeThrowsPercent": 50.0,
              "OffensiveRebounds": 5,
              "DefensiveRebounds": 5,
              "Rebounds": 10,
              "Assists": 5,
              "Steals": 2,
              "Deflections": 3,
              "Blocks": 4,
              "Turnovers": 3,
              "PersonalFouls": 2,
              "TechnicalFouls": 1
            }
          }
        ],
        "ParentId": 1
      }
    ]
  }
}
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Player>
    <FirstName>Joe</FirstName>
    <Id>101</Id>
    <LastName>Smith</LastName>
    <ParentId>1</ParentId>
    <Profile>
      <ACTScore>36</ACTScore>
      <BirthYear>2017</BirthYear>
      <Birthdate>1/2/1990</Birthdate>
      <GPA>4</GPA>
      <Grade>6th</Grade>
      <GraduationYear>2008</GraduationYear>
      <Height>6-6</Height>
      <Position>PG</Position>
      <SATScore>1600</SATScore>
      <School>New Albany High School</School>
      <TravelTeam>Indiana Elite</TravelTeam>
      <Weight>200</Weight>
    </Profile>
    <Teams>
      <Team>
        <DivisionId>134</DivisionId>
        <DivisionName>17U</DivisionName>
        <ExternalTeamId>XDLG234L</ExternalTeamId>
        <Games>
          <Game>
            <Court>Court 1</Court>
            <Date>2/2/2015</Date>
            <Id>10000</Id>
            <Statistic>
              <Assists>5</Assists>
              <Blocks>4</Blocks>
              <DefensiveRebounds>5</DefensiveRebounds>
              <Deflections>3</Deflections>
              <FieldGoalsAttempted>10</FieldGoalsAttempted>
              <FieldGoalsMade>5</FieldGoalsMade>
              <FieldGoalsPercent>50</FieldGoalsPercent>
              <FreeThrowsAttempted>2</FreeThrowsAttempted>
              <FreeThrowsMade>1</FreeThrowsMade>
              <FreeThrowsPercent>50</FreeThrowsPercent>
              <Minutes>40</Minutes>
              <OffensiveRebounds>5</OffensiveRebounds>
              <PersonalFouls>2</PersonalFouls>
              <Points>20</Points>
              <Rebounds>10</Rebounds>
              <Started>true</Started>
              <Steals>2</Steals>
              <TechnicalFouls>1</TechnicalFouls>
              <ThreePointersAttempted>10</ThreePointersAttempted>
              <ThreePointersMade>5</ThreePointersMade>
              <ThreePointersPercent>50</ThreePointersPercent>
              <Turnovers>3</Turnovers>
              <TwoPointersAttempted>10</TwoPointersAttempted>
              <TwoPointersMade>5</TwoPointersMade>
              <TwoPointersPercent>50</TwoPointersPercent>
            </Statistic>
            <Time>12:00 PM</Time>
            <Venue>Ballard High School</Venue>
          </Game>
        </Games>
        <Id>12000</Id>
        <Name>Indiana Elite</Name>
        <Number>22</Number>
        <ParentId>1</ParentId>
      </Team>
    </Teams>
  </Player>
</Response>

Players

Retrieves a paged list of players.

Endpoint

GET https://basketball.exposureevents.com/api/v1/players

Parameters

Name Type Default Required Description
page integer 1
pagesize integer 50
eventid integer The event id of the player.
divisionid integer The division id of the player.
playerids array The ids of one or more players.
teamids array The ids of one or more player teams.
includes enumeration Additional data to be included in the response. Values should be separated by commas.
{
  "Players": {
    "Results": [
      {
        "Id": 101,
        "ParentId": 1,
        "FirstName": "Joe",
        "LastName": "Smith",
        "Profile": {
          "Birthdate": "1/2/1990",
          "BirthYear": 2017,
          "Height": "6-6",
          "Weight": 200,
          "School": "New Albany High School",
          "GraduationYear": 2008,
          "Grade": "6th",
          "Position": "PG",
          "TravelTeam": "Indiana Elite",
          "ACTScore": 36,
          "SATScore": 1600,
          "GPA": 4.0
        },
        "Teams": [
          {
            "Id": 12000,
            "ExternalTeamId": "XDLG234L",
            "Number": 22,
            "Name": "Indiana Elite",
            "DivisionId": 134,
            "DivisionName": "17U",
            "Games": [
              {
                "Id": 10000,
                "Date": "2/2/2015",
                "Time": "12:00 PM",
                "Venue": "Ballard High School",
                "Court": "Court 1",
                "Statistic": {
                  "Started": true,
                  "Minutes": 40,
                  "Points": 20,
                  "FieldGoalsMade": 5,
                  "FieldGoalsAttempted": 10,
                  "FieldGoalsPercent": 50.0,
                  "TwoPointersMade": 5,
                  "TwoPointersAttempted": 10,
                  "TwoPointersPercent": 50.0,
                  "ThreePointersMade": 5,
                  "ThreePointersAttempted": 10,
                  "ThreePointersPercent": 50.0,
                  "FreeThrowsMade": 1,
                  "FreeThrowsAttempted": 2,
                  "FreeThrowsPercent": 50.0,
                  "OffensiveRebounds": 5,
                  "DefensiveRebounds": 5,
                  "Rebounds": 10,
                  "Assists": 5,
                  "Steals": 2,
                  "Deflections": 3,
                  "Blocks": 4,
                  "Turnovers": 3,
                  "PersonalFouls": 2,
                  "TechnicalFouls": 1
                }
              }
            ],
            "ParentId": 1
          }
        ]
      }
    ],
    "Page": 1,
    "PageSize": 50,
    "Total": 1
  }
}
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Players>
    <Page>1</Page>
    <PageSize>50</PageSize>
    <Results>
      <Player>
        <FirstName>Joe</FirstName>
        <Id>101</Id>
        <LastName>Smith</LastName>
        <ParentId>1</ParentId>
        <Profile>
          <ACTScore>36</ACTScore>
          <BirthYear>2017</BirthYear>
          <Birthdate>1/2/1990</Birthdate>
          <GPA>4</GPA>
          <Grade>6th</Grade>
          <GraduationYear>2008</GraduationYear>
          <Height>6-6</Height>
          <Position>PG</Position>
          <SATScore>1600</SATScore>
          <School>New Albany High School</School>
          <TravelTeam>Indiana Elite</TravelTeam>
          <Weight>200</Weight>
        </Profile>
        <Teams>
          <Team>
            <DivisionId>134</DivisionId>
            <DivisionName>17U</DivisionName>
            <ExternalTeamId>XDLG234L</ExternalTeamId>
            <Games>
              <Game>
                <Court>Court 1</Court>
                <Date>2/2/2015</Date>
                <Id>10000</Id>
                <Statistic>
                  <Assists>5</Assists>
                  <Blocks>4</Blocks>
                  <DefensiveRebounds>5</DefensiveRebounds>
                  <Deflections>3</Deflections>
                  <FieldGoalsAttempted>10</FieldGoalsAttempted>
                  <FieldGoalsMade>5</FieldGoalsMade>
                  <FieldGoalsPercent>50</FieldGoalsPercent>
                  <FreeThrowsAttempted>2</FreeThrowsAttempted>
                  <FreeThrowsMade>1</FreeThrowsMade>
                  <FreeThrowsPercent>50</FreeThrowsPercent>
                  <Minutes>40</Minutes>
                  <OffensiveRebounds>5</OffensiveRebounds>
                  <PersonalFouls>2</PersonalFouls>
                  <Points>20</Points>
                  <Rebounds>10</Rebounds>
                  <Started>true</Started>
                  <Steals>2</Steals>
                  <TechnicalFouls>1</TechnicalFouls>
                  <ThreePointersAttempted>10</ThreePointersAttempted>
                  <ThreePointersMade>5</ThreePointersMade>
                  <ThreePointersPercent>50</ThreePointersPercent>
                  <Turnovers>3</Turnovers>
                  <TwoPointersAttempted>10</TwoPointersAttempted>
                  <TwoPointersMade>5</TwoPointersMade>
                  <TwoPointersPercent>50</TwoPointersPercent>
                </Statistic>
                <Time>12:00 PM</Time>
                <Venue>Ballard High School</Venue>
              </Game>
            </Games>
            <Id>12000</Id>
            <Name>Indiana Elite</Name>
            <Number>22</Number>
            <ParentId>1</ParentId>
          </Team>
        </Teams>
      </Player>
    </Results>
    <Total>1</Total>
  </Players>
</Response>
BASKETBALL EVENT, TOURNAMENT AND LEAGUE MARKETING Market your event now! Submit Event