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://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"
          }
        ],
        "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>
            <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://exposureevents.com/api/v1/players

Parameters

Name Type Default Required Description
page integer 1
pagesize integer 50
sport enumeration The sport of the player.
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"
              }
            ],
            "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>
                <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>
EVENT, TOURNAMENT AND LEAGUE MARKETING Market your event now! Submit Event